From ea55ea039d6637436896c415073699aa0b39b6e6 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Mon, 30 Dec 2013 12:45:53 -0800 Subject: 32205: skip cdpath search when prefix begins with "../" --- 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 b9860ffc8..6b8d7ebeb 100644 --- a/Completion/Zsh/Command/_cd +++ b/Completion/Zsh/Command/_cd @@ -63,7 +63,7 @@ else fi fi - if [[ $PREFIX != (\~|/|./|../)* ]]; then + if [[ $PREFIX != (\~|/|./|../)* && $IPREFIX != ../* ]]; then local tmpcdpath alt alt=() -- cgit 1.4.1