diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2008-02-19 22:52:18 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2008-02-19 22:52:18 +0000 |
commit | 9728d35cc2e872c1d1b485f68fcd3b8f7c60fbfa (patch) | |
tree | 1bebf57a05f12539bfa2beb8297d8a2257fe04ca /Completion/Unix | |
parent | b784aad67a5306930659704613e69bafdacf9f6e (diff) | |
download | zsh-9728d35cc2e872c1d1b485f68fcd3b8f7c60fbfa.tar.gz zsh-9728d35cc2e872c1d1b485f68fcd3b8f7c60fbfa.tar.xz zsh-9728d35cc2e872c1d1b485f68fcd3b8f7c60fbfa.zip |
24570: don't attempt to pre-filter $commands on $PREFIX, just let compadd
deal with it.
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Type/_path_commands | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_path_commands b/Completion/Unix/Type/_path_commands index 714e2e232..722129a2d 100644 --- a/Completion/Unix/Type/_path_commands +++ b/Completion/Unix/Type/_path_commands @@ -52,7 +52,7 @@ fi if [[ -n $need_desc ]]; then typeset -a dcmds descs cmds local desc cmd sep - for cmd in ${(@)commands[(I)$PREFIX*]}; do + for cmd in ${(k)commands}; do desc=$_command_descriptions[$cmd] if [[ -z $desc ]]; then cmds+=$cmd |