diff options
author | Doug Kearns <dkearns@users.sourceforge.net> | 2005-06-08 05:33:45 +0000 |
---|---|---|
committer | Doug Kearns <dkearns@users.sourceforge.net> | 2005-06-08 05:33:45 +0000 |
commit | 0d8d202ff5491382a7576508d80166f89aac4157 (patch) | |
tree | 02ff03a93265d57b7382fdff71164e0057ab5d31 /Completion/X/Command | |
parent | 1caf681523605cb29996226e4b7bb41977fc8402 (diff) | |
download | zsh-0d8d202ff5491382a7576508d80166f89aac4157.tar.gz zsh-0d8d202ff5491382a7576508d80166f89aac4157.tar.xz zsh-0d8d202ff5491382a7576508d80166f89aac4157.zip |
21302: make sure expl is declared local in completion functions
Diffstat (limited to 'Completion/X/Command')
-rw-r--r-- | Completion/X/Command/_mozilla | 2 | ||||
-rw-r--r-- | Completion/X/Command/_mplayer | 2 | ||||
-rw-r--r-- | Completion/X/Command/_netscape | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Completion/X/Command/_mozilla b/Completion/X/Command/_mozilla index f6ade49fc..890aa7b53 100644 --- a/Completion/X/Command/_mozilla +++ b/Completion/X/Command/_mozilla @@ -1,6 +1,6 @@ #compdef mozilla mozilla-firefox mozilla-xremote-client -local curcontext="$curcontext" state line ret=1 suf +local curcontext="$curcontext" state line expl ret=1 suf typeset -A opt_args local popts="-installer -CreateProfile -P -ProfileWizard -ProfileManager -SelectProfile" diff --git a/Completion/X/Command/_mplayer b/Completion/X/Command/_mplayer index 8be53b52e..d7205d1ae 100644 --- a/Completion/X/Command/_mplayer +++ b/Completion/X/Command/_mplayer @@ -1,7 +1,7 @@ #compdef mplayer gmplayer local suf ret=1 curcontext="$curcontext" -local -a vals state line +local -a vals state line expl _x_arguments -C -s \ '!-abs:buffer size' \ diff --git a/Completion/X/Command/_netscape b/Completion/X/Command/_netscape index a6f9ac3fc..e1d02ae90 100644 --- a/Completion/X/Command/_netscape +++ b/Completion/X/Command/_netscape @@ -1,6 +1,6 @@ #compdef netscape -local curcontext="$curcontext" state line ret=1 suf files +local curcontext="$curcontext" state line expl ret=1 suf files typeset -A opt_args _x_arguments -C \ |