From 163b0101ed6d63c735590d561a8026d74d964401 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 4 Apr 2001 11:29:19 +0000 Subject: add -W option to _arguments, which allows to complete options after options that take an argument in the next word (13902) --- Completion/X/Utility/_x_arguments | 2 +- Completion/X/Utility/_xt_arguments | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/X') 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 -- cgit 1.4.1