about summary refs log tree commit diff
path: root/Completion/X/Utility
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-04 11:29:19 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-04 11:29:19 +0000
commit163b0101ed6d63c735590d561a8026d74d964401 (patch)
tree81dc4c353e7e912db60f33a00c3a4e792604e623 /Completion/X/Utility
parentec01fb14b45369edadab11e88c5ce32933148c94 (diff)
downloadzsh-163b0101ed6d63c735590d561a8026d74d964401.tar.gz
zsh-163b0101ed6d63c735590d561a8026d74d964401.tar.xz
zsh-163b0101ed6d63c735590d561a8026d74d964401.zip
add -W option to _arguments, which allows to complete options after options that take an argument in the next word (13902)
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 8f1723cc6..ba6dd2a68 100644
--- a/Completion/X/Utility/_x_arguments
+++ b/Completion/X/Utility/_x_arguments
@@ -17,7 +17,7 @@ else
 fi
 
 opts=()
-while [[ $1 = -(O*|[CR]) ]]; do
+while [[ $1 = -(O*|[CRWs]) ]]; do
   opts=($opts $1)
   [[ $1 = -R ]] && rawret=yes
   shift
diff --git a/Completion/X/Utility/_xt_arguments b/Completion/X/Utility/_xt_arguments
index e8dafc60c..e17653251 100644
--- a/Completion/X/Utility/_xt_arguments
+++ b/Completion/X/Utility/_xt_arguments
@@ -53,7 +53,7 @@ else
 fi
 
 opts=()
-while [[ $1 = -(O*|[CR]) ]]; do
+while [[ $1 = -(O*|[CRWs]) ]]; do
   opts=($opts $1)
   [[ $1 = -R ]] && rawret=yes
   shift