From 4fe788b09293eac27472a33d3b5e784583c13bde Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Wed, 22 Aug 2001 15:37:19 +0000 Subject: Don't treat numbers as cd-able vars. --- Completion/Zsh/Command/_cd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Zsh') 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 -- cgit 1.4.1