diff options
| author | Barton E. Schaefer <schaefer@zsh.org> | 2013-12-30 12:45:53 -0800 |
|---|---|---|
| committer | Barton E. Schaefer <schaefer@zsh.org> | 2013-12-30 12:45:53 -0800 |
| commit | ea55ea039d6637436896c415073699aa0b39b6e6 (patch) | |
| tree | be46e16c5676b275382223035039a17af310a51c | |
| parent | Note problem when compiling with GCC on OS X 10.9.1. (diff) | |
| download | zsh-ea55ea039d6637436896c415073699aa0b39b6e6.tar zsh-ea55ea039d6637436896c415073699aa0b39b6e6.tar.gz zsh-ea55ea039d6637436896c415073699aa0b39b6e6.tar.bz2 zsh-ea55ea039d6637436896c415073699aa0b39b6e6.tar.lz zsh-ea55ea039d6637436896c415073699aa0b39b6e6.tar.xz zsh-ea55ea039d6637436896c415073699aa0b39b6e6.tar.zst zsh-ea55ea039d6637436896c415073699aa0b39b6e6.zip | |
32205: skip cdpath search when prefix begins with "../"
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | Completion/Zsh/Command/_cd | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,6 +1,9 @@ 2013-12-30 Barton E. Schaefer <schaefer@zsh.org> - * unposted (cf. Carlo: 32202): MACHINES: OS X 10.9.1. gcc problem + * 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> 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=() |
