turned tabs into spaces

This commit is contained in:
luolimao 2012-09-02 02:23:03 -04:00
parent b015709f56
commit a89cb91318
1 changed files with 6 additions and 6 deletions

View File

@ -137,16 +137,16 @@ _yaourt_completions_all_packages() {
if compset -P1 '*/*'; then
packages=( $(_call_program packages $cmd[@] -Sql ${words[CURRENT]%/*}) )
typeset -U packages
if [[ -d /var/aur ]]; then
packages=( $packages $(ls /var/aur) )
fi
if [[ -d /var/aur ]]; then
packages=( $packages $(ls /var/aur) )
fi
_wanted repo_packages expl "repository/package" compadd ${(@)packages}
else
packages=( $(_call_program packages $cmd[@] -Sql) )
typeset -U packages
if [[ -d /var/aur ]]; then
packages=( $packages $(ls /var/aur) )
fi
if [[ -d /var/aur ]]; then
packages=( $packages $(ls /var/aur) )
fi
_wanted packages expl "packages" compadd - "${(@)packages}"
repositories=(${(o)${${${(M)${(f)"$(</etc/pacman.conf)"}:#\[*}/\[/}/\]/}:#options})