diff options
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' \ + "$@" |