diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-08-27 13:43:43 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-08-27 13:43:43 +0000 |
commit | df7d6b3e439c7401e1e1c8ab76a603f001402ea3 (patch) | |
tree | 9dff2c8698df9a59a8624cb05356b98add14fbc4 /Completion/User/_x_options | |
parent | bd29ea48ec58524eee4c2cf9409cde340389488c (diff) | |
download | zsh-df7d6b3e439c7401e1e1c8ab76a603f001402ea3.tar.gz zsh-df7d6b3e439c7401e1e1c8ab76a603f001402ea3.tar.xz zsh-df7d6b3e439c7401e1e1c8ab76a603f001402ea3.zip |
zsh-workers/7517
Diffstat (limited to 'Completion/User/_x_options')
-rw-r--r-- | Completion/User/_x_options | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Completion/User/_x_options b/Completion/User/_x_options index fd8d2034e..23243002c 100644 --- a/Completion/User/_x_options +++ b/Completion/User/_x_options @@ -1,12 +1,6 @@ #compdef -P */X11/* -local expl - -# A simple pattern completion, just as an example. - -if [ "$words[CURRENT-1]" = "-display" ]; then - _x_display -else - _description expl option - compadd "$expl[@]" - -display -name -xrm -fi +_arguments \ + '-display:display:_x_display' \ + '-geometry:geometry:_x_geometry' \ + "$@" |