diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2001-08-22 15:37:19 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2001-08-22 15:37:19 +0000 |
commit | 4fe788b09293eac27472a33d3b5e784583c13bde (patch) | |
tree | 21340177d61d025a4b429686e20139defeb8be68 /Completion/Zsh | |
parent | 80988d80275208d8843c9fefa8b49f8baf0b1ab4 (diff) | |
download | zsh-4fe788b09293eac27472a33d3b5e784583c13bde.tar.gz zsh-4fe788b09293eac27472a33d3b5e784583c13bde.tar.xz zsh-4fe788b09293eac27472a33d3b5e784583c13bde.zip |
Don't treat numbers as cd-able vars.
Diffstat (limited to 'Completion/Zsh')
-rw-r--r-- | Completion/Zsh/Command/_cd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Command/_cd b/Completion/Zsh/Command/_cd index fe347ae4c..3a536cb7b 100644 --- a/Completion/Zsh/Command/_cd +++ b/Completion/Zsh/Command/_cd @@ -36,7 +36,7 @@ else tmpcdpath=(${${(@)cdpath:#.}:#$PWD}) # With cdablevars, we can complete foo as if ~foo/ - if [[ -o cdablevars && -n "$PREFIX" ]]; then + if [[ -o cdablevars && -n "$PREFIX" && "$PREFIX" != <-> ]]; then if [[ "$PREFIX" != */* ]]; then _tilde && ret=0 else |