diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-31 09:38:25 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-31 09:38:25 +0000 |
commit | fd25b24df6b4f098944c4994195d3894a27a8208 (patch) | |
tree | 53f7f940844ab34c7349506622fc8241c782f98c /Completion/Core/_expand | |
parent | 4629133ad33dacef459ad9fa5ca438836a1be9fb (diff) | |
download | zsh-fd25b24df6b4f098944c4994195d3894a27a8208.tar.gz zsh-fd25b24df6b4f098944c4994195d3894a27a8208.tar.xz zsh-fd25b24df6b4f098944c4994195d3894a27a8208.zip |
use compadd -[ak] (11549)
Diffstat (limited to 'Completion/Core/_expand')
-rw-r--r-- | Completion/Core/_expand | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Core/_expand b/Completion/Core/_expand index 869c9c843..fb146e0de 100644 --- a/Completion/Core/_expand +++ b/Completion/Core/_expand @@ -104,7 +104,7 @@ if [[ -z "$compstate[insert]" ]] ;then _description -V expansions expl expansions "o:$word" fi - compadd "$expl[@]" -UQ -qS "$suf" - "$exp[@]" + compadd "$expl[@]" -UQ -qS "$suf" -a exp else _tags all-expansions expansions original @@ -142,8 +142,8 @@ else normal=( "$normal[@]" "$i" ) fi done - (( $#dir )) && compadd "$expl[@]" -UQ -qS/ - "$dir[@]" - (( $#normal )) && compadd "$expl[@]" -UQ -qS "$suf" - "$normal[@]" + (( $#dir )) && compadd "$expl[@]" -UQ -qS/ -a dir + (( $#normal )) && compadd "$expl[@]" -UQ -qS "$suf" -a normal fi _requested original expl original && compadd "$expl[@]" -UQ - "$word" |