summaryrefslogtreecommitdiff
path: root/Completion/X/Utility
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-26 12:13:36 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-26 12:13:36 +0000
commitaa99b19c088324b17c0c5e1caee4fc3b5777deab (patch)
tree6489214ac325f9b473c254fb8f8c545b3255855d /Completion/X/Utility
parent105009726b3276a16ad39930aba046032597a039 (diff)
downloadzsh-aa99b19c088324b17c0c5e1caee4fc3b5777deab.tar.gz
zsh-aa99b19c088324b17c0c5e1caee4fc3b5777deab.zip
rename -W option to -w, add new -W option which makes _arguments complete options even after options that get their argument in the same word; new _guard function for conditionally displaying messages (14105)
Diffstat (limited to 'Completion/X/Utility')
-rw-r--r--Completion/X/Utility/_x_arguments2
-rw-r--r--Completion/X/Utility/_xt_arguments2
2 files changed, 2 insertions, 2 deletions
diff --git a/Completion/X/Utility/_x_arguments b/Completion/X/Utility/_x_arguments
index ba6dd2a68..6bda63076 100644
--- a/Completion/X/Utility/_x_arguments
+++ b/Completion/X/Utility/_x_arguments
@@ -17,7 +17,7 @@ else
fi
opts=()
-while [[ $1 = -(O*|[CRWs]) ]]; do
+while [[ $1 = -(O*|[CRWsw]) ]]; do
opts=($opts $1)
[[ $1 = -R ]] && rawret=yes
shift
diff --git a/Completion/X/Utility/_xt_arguments b/Completion/X/Utility/_xt_arguments
index e17653251..e2efda61c 100644
--- a/Completion/X/Utility/_xt_arguments
+++ b/Completion/X/Utility/_xt_arguments
@@ -53,7 +53,7 @@ else
fi
opts=()
-while [[ $1 = -(O*|[CRWs]) ]]; do
+while [[ $1 = -(O*|[CRWsw]) ]]; do
opts=($opts $1)
[[ $1 = -R ]] && rawret=yes
shift