summaryrefslogtreecommitdiff
path: root/Completion/X/Command/_xclip
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2012-12-17 19:50:31 +0100
committerAxel Beckert <abe@deuxchevaux.org>2012-12-17 19:51:41 +0100
commit049f4be0b89188e1bc3e19e75c0675dd2356d3ef (patch)
tree7b6cc1a6611683b28888f8f7172ce8ceba773c30 /Completion/X/Command/_xclip
parent015e05572733aafd2a005edd507d16e2310653a0 (diff)
parent7152094541a54c92ff937413f850e09412585b7b (diff)
downloadzsh-049f4be0b89188e1bc3e19e75c0675dd2356d3ef.tar.gz
zsh-049f4be0b89188e1bc3e19e75c0675dd2356d3ef.zip
New upstream test release
Diffstat (limited to 'Completion/X/Command/_xclip')
-rw-r--r--Completion/X/Command/_xclip25
1 files changed, 14 insertions, 11 deletions
diff --git a/Completion/X/Command/_xclip b/Completion/X/Command/_xclip
index 759251c28..ff131f3b1 100644
--- a/Completion/X/Command/_xclip
+++ b/Completion/X/Command/_xclip
@@ -1,14 +1,17 @@
#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]'
+ '(-i -in -o -out)'{-i,-in}'[read text into X selection (default)]' \
+ '(* -i -in -o -out)'{-o,-out}'[print selection to standard output]' \
+ '(-o -out -f -filter -quiet)'{-f,-filter}'[copy input additionally to standard output]' \
+ {-l,-loops}'[number of selection requests to wait before exiting]:number' \
+ {-t,-target}'[specify data format]:format:($(_call_program targets xclip -o -t TARGETS))' \
+ {-d,-display}'[X display to connect to]:display:_x_display' \
+ '(-)'{-h,-help}'[display usage information]' \
+ '(-selection)-selection[selection to access]:selection:(primary secondary clipboard buffer-cut)' \
+ "-noutf8[operate in legacy, non-Unicode, mode]" \
+ '(-)-version[display 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]' \
+ '(-o -out)*:input file:_files'