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:
parent
e8fb45ef1e
commit
ea55ea039d
2 changed files with 5 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -63,7 +63,7 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
if [[ $PREFIX != (\~|/|./|../)* ]]; then
|
||||
if [[ $PREFIX != (\~|/|./|../)* && $IPREFIX != ../* ]]; then
|
||||
local tmpcdpath alt
|
||||
|
||||
alt=()
|
||||
|
|
Loading…
Reference in a new issue