diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:24:09 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:24:09 +0000 |
commit | 6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7 (patch) | |
tree | ec80a986c49f2da21eed83b7097f0f4e99f57e3f /Completion/Builtins/_hash | |
parent | 640a840d2e94f0fc245ef8632050c37af23c6b94 (diff) | |
download | zsh-6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7.tar.gz zsh-6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7.tar.xz zsh-6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7.zip |
zsh-3.1.5-pws-14 zsh-3.1.5-pws-14
Diffstat (limited to 'Completion/Builtins/_hash')
-rw-r--r-- | Completion/Builtins/_hash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Builtins/_hash b/Completion/Builtins/_hash index 8c100b801..4d4ba4244 100644 --- a/Completion/Builtins/_hash +++ b/Completion/Builtins/_hash @@ -1,12 +1,12 @@ #defcomp hash if [[ "$words[2]" = -*d* ]]; then - if [[ -string 1 '=' ]]; then + if compset -P 1 '*\='; then _path_files -g '*(-/)' else compgen -n -q -S '=' fi -elif [[ -string 1 '=' ]]; then +elif compset -P 1 '*\='; then _files -/g '*(*)' else compgen -m -q -S '=' |