diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-05 11:28:08 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-05 11:28:08 +0000 |
commit | b8bdb144d2a310632efb3bbd7dd78d4f296bc62f (patch) | |
tree | 8c32a29b3e72dce2728535f4a5ead0be9a7f8e89 /Completion/X | |
parent | fc426939cc5a8bc7acd809f9e013e6c10ede044f (diff) | |
download | zsh-b8bdb144d2a310632efb3bbd7dd78d4f296bc62f.tar.gz zsh-b8bdb144d2a310632efb3bbd7dd78d4f296bc62f.tar.xz zsh-b8bdb144d2a310632efb3bbd7dd78d4f296bc62f.zip |
use basename of commands instead of $words[1]
Diffstat (limited to 'Completion/X')
-rw-r--r-- | Completion/X/_xutils | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/X/_xutils b/Completion/X/_xutils index 4eea8ded1..a57f7be36 100644 --- a/Completion/X/_xutils +++ b/Completion/X/_xutils @@ -1,6 +1,6 @@ #compdef xdpyinfo xwininfo xkill xfontsel xfd xev xhost xon xsetroot xwd xwud xrdb -case "$words[1]" in +case "${words[1]:t}" in xdpyinfo) _x_arguments \ -queryExtensions \ |