1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-30 07:10:58 +02:00

32205: skip cdpath search when prefix begins with "../"

This commit is contained in:
Barton E. Schaefer 2013-12-30 12:45:53 -08:00
parent e8fb45ef1e
commit ea55ea039d
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2013-12-30 Barton E. Schaefer <schaefer@zsh.org>
* 32205: Completion/Zsh/Command/_cd: skip cdpath search when
the prefix begins with "../" (bug introduced by 31714)
* unposted (cf. Carlo: 32202): MACHINES: OS X 10.9.1. gcc problem
2013-12-28 Barton E. Schaefer <schaefer@zsh.org>

View file

@ -63,7 +63,7 @@ else
fi
fi
if [[ $PREFIX != (\~|/|./|../)* ]]; then
if [[ $PREFIX != (\~|/|./|../)* && $IPREFIX != ../* ]]; then
local tmpcdpath alt
alt=()