diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-07 12:54:47 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-07 12:54:47 +0000 |
commit | 6cc1204ea97b3c02da1b3d2a4df93712f0c5fefb (patch) | |
tree | a6d4da4a9a1342461ad90d298b64b04b3bc67f8d /Completion/X | |
parent | 77f9967f32aa39ea0290162e0c3921a0ebca394e (diff) | |
download | zsh-6cc1204ea97b3c02da1b3d2a4df93712f0c5fefb.tar.gz zsh-6cc1204ea97b3c02da1b3d2a4df93712f0c5fefb.tar.xz zsh-6cc1204ea97b3c02da1b3d2a4df93712f0c5fefb.zip |
zsh-workers/7690
Diffstat (limited to 'Completion/X')
-rw-r--r-- | Completion/X/_x_arguments | 8 | ||||
-rw-r--r-- | Completion/X/_xt_arguments | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/Completion/X/_x_arguments b/Completion/X/_x_arguments index 23243002c..396a39ea2 100644 --- a/Completion/X/_x_arguments +++ b/Completion/X/_x_arguments @@ -1,6 +1,14 @@ #compdef -P */X11/* +local ret + _arguments \ '-display:display:_x_display' \ '-geometry:geometry:_x_geometry' \ "$@" + +ret=$? + +[[ "$ret" = 300 ]] && compstate[restore]='' + +return ret diff --git a/Completion/X/_xt_arguments b/Completion/X/_xt_arguments index 6ed8b9d27..2604cfa83 100644 --- a/Completion/X/_xt_arguments +++ b/Completion/X/_xt_arguments @@ -20,6 +20,8 @@ # cf. XrmParseCommand(3X11), X11R6.4/xc/lib/Xt/Initialize.c, X(5) +local ret + _arguments \ -+{rv,synchronous} \ -{reverse,iconic} \ @@ -42,3 +44,9 @@ _arguments \ '-xrm:resource:_x_resource' \ '-xtsessionID:session ID:_xt_session_id' \ "$@" + +ret=$? + +[[ "$ret" = 300 ]] && compstate[restore]='' + +return ret |