about summary refs log tree commit diff
path: root/Completion/Zsh/Command
diff options
context:
space:
mode:
authorEric Cook <illua@users.sourceforge.net>2017-12-25 21:15:24 -0500
committerEric Cook <illua@users.sourceforge.net>2018-01-02 14:38:03 -0500
commit99cf61fd4211dcb99142f683230947481c05eb93 (patch)
treec834f5f0880cc6b5dbafed2828e3800b235c7506 /Completion/Zsh/Command
parent3c24adb2edcf8c7cd36e7bb90add9611f37f48d4 (diff)
downloadzsh-99cf61fd4211dcb99142f683230947481c05eb93.tar.gz
zsh-99cf61fd4211dcb99142f683230947481c05eb93.tar.xz
zsh-99cf61fd4211dcb99142f683230947481c05eb93.zip
42171: prevent parameters of various parameters from becoming global
Diffstat (limited to 'Completion/Zsh/Command')
-rw-r--r--Completion/Zsh/Command/_cd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Command/_cd b/Completion/Zsh/Command/_cd
index 6b8d7ebeb..46237e73d 100644
--- a/Completion/Zsh/Command/_cd
+++ b/Completion/Zsh/Command/_cd
@@ -22,7 +22,7 @@ _cd_options() {
 setopt localoptions nonomatch
 
 local expl ret=1 curarg
-integer argstart=2 noopts
+integer argstart=2 noopts match mbegin mend
 
 if (( CURRENT > 1 )); then
   # if not in command position, may have options.