diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Base/Completer/_external_pwds | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 98baf3ed1..18c5a973b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-12-01 Oliver Kiddle <opk@zsh.org> + + * 40053: Completion/Base/Completer/_external_pwds: exclude + current directory of active zsh from completion matches + 2016-12-01 Daniel Shahaf <d.s@daniel.shahaf.name> * unposted: Functions/VCS_Info/VCS_INFO_patch2subject, diff --git a/Completion/Base/Completer/_external_pwds b/Completion/Base/Completer/_external_pwds index a9dc859f1..dfc1abe16 100644 --- a/Completion/Base/Completer/_external_pwds +++ b/Completion/Base/Completer/_external_pwds @@ -36,7 +36,7 @@ case $OSTYPE in fi ;; esac -dirs=( ${(D)dirs} ) +dirs=( ${(D)dirs:#$PWD} ) compstate[pattern_match]='*' _wanted directories expl 'current directory from other shell' \ |