diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-10-19 10:28:07 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-10-19 10:28:07 +0000 |
commit | 2a0862bc40493312db83b368b8ba927e9183b5b9 (patch) | |
tree | 51871e5a226ef1845fc1aac2a20dbd2967ced4c5 /Completion/Zsh/Context | |
parent | 62829b856d9c6b054f3c6338a20f9d5c04d79d42 (diff) | |
download | zsh-2a0862bc40493312db83b368b8ba927e9183b5b9.tar.gz zsh-2a0862bc40493312db83b368b8ba927e9183b5b9.tar.xz zsh-2a0862bc40493312db83b368b8ba927e9183b5b9.zip |
fix: make _describe handle (...) arguments correctly; use _file_descriptors after -t in conditions; don't display empty descriptions in _file_descriptors (16085)
Diffstat (limited to 'Completion/Zsh/Context')
-rw-r--r-- | Completion/Zsh/Context/_condition | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Zsh/Context/_condition b/Completion/Zsh/Context/_condition index b6a4eff7a..46f8467b7 100644 --- a/Completion/Zsh/Context/_condition +++ b/Completion/Zsh/Context/_condition @@ -6,6 +6,8 @@ if [[ "$prev" = -o ]]; then _tags -C -o options && _options elif [[ "$prev" = -([a-hkprsuwxLOGSN]|[no]t|ef) ]]; then _tags -C "$prev" files && _files +elif [[ "$prev" = -t ]]; then + _file_descriptors else if [[ "$PREFIX" = -* ]] || ! zstyle -T ":completion:${curcontext}:options" prefix-needed; then |