From 084103d30ef20bb8a7c866fd52d0caa448b21999 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 22 Jan 2012 20:04:01 +0000 Subject: Ben: 30117: new xclip completion --- ChangeLog | 7 ++++++- Completion/X/Command/.distfiles | 1 + Completion/X/Command/_xclip | 14 ++++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 Completion/X/Command/_xclip diff --git a/ChangeLog b/ChangeLog index 159b0b7b8..add8b4643 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-01-22 Peter Stephenson + + * Ben: 30117 (moved directory): Completion/X/Command/_xclip, + Completion/X/Command/.distfiles: new completion. + 2012-01-19 Frank Terbeck * 30114: Functions/VCS_Info/VCS_INFO_check_com: Remove a @@ -15870,5 +15875,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5564 $ +* $Revision: 1.5565 $ ***************************************************** diff --git a/Completion/X/Command/.distfiles b/Completion/X/Command/.distfiles index 3b6dc49fa..c6835ea54 100644 --- a/Completion/X/Command/.distfiles +++ b/Completion/X/Command/.distfiles @@ -20,6 +20,7 @@ _urxvt _vnc _x_utils _xauth +_xclip _xdvi _xfig _xloadimage diff --git a/Completion/X/Command/_xclip b/Completion/X/Command/_xclip new file mode 100644 index 000000000..759251c28 --- /dev/null +++ b/Completion/X/Command/_xclip @@ -0,0 +1,14 @@ +#compdef xclip + +_arguments \ + '(-i -in -o -out)'{-i,-in}'[Read text into X selection]' \ + '(-i -in -o -out)'{-o,-out}'[Print selection to standard out]' \ + {-l,-loops}'[Number of selection requests to wait before exiting]:number:' \ + {-d,-display}'[X display to connect to]:X11 display:' \ + '(-)'{-h,-help}'[Usage information]' \ + '(-selection)-selection[Selection to access]:selection:(primary secondary clipboard buffer-cut)' \ + $'-noutf8[Use old Unicode, don\'t treat text as UTF-8]' \ + '(-)-version[version information]' \ + '(-quiet -verbose)-silent[Errors only, run in background]' \ + $'(-silent -verbose)-quiet[Run in foreground, show what\'s happening]' \ + '(-silent -quiet)-verbose[Running commentary]' -- cgit 1.4.1