diff options
| author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-26 12:13:36 +0000 |
|---|---|---|
| committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-26 12:13:36 +0000 |
| commit | aa99b19c088324b17c0c5e1caee4fc3b5777deab (patch) | |
| tree | 6489214ac325f9b473c254fb8f8c545b3255855d /Completion/X/Utility | |
| parent | make keep-prefix keep everything up to the first component with a parameter e... (diff) | |
| download | zsh-aa99b19c088324b17c0c5e1caee4fc3b5777deab.tar zsh-aa99b19c088324b17c0c5e1caee4fc3b5777deab.tar.gz zsh-aa99b19c088324b17c0c5e1caee4fc3b5777deab.tar.bz2 zsh-aa99b19c088324b17c0c5e1caee4fc3b5777deab.tar.lz zsh-aa99b19c088324b17c0c5e1caee4fc3b5777deab.tar.xz zsh-aa99b19c088324b17c0c5e1caee4fc3b5777deab.tar.zst 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_arguments | 2 | ||||
| -rw-r--r-- | Completion/X/Utility/_xt_arguments | 2 |
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 |
