From a536d2bc1f5e6bcbc3d062997686381505e3dbba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Martinez?= Date: Tue, 31 Jul 2018 19:08:32 +0200 Subject: [PATCH] Add xclip completions --- share/completions/xclip.fish | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 share/completions/xclip.fish diff --git a/share/completions/xclip.fish b/share/completions/xclip.fish new file mode 100644 index 000000000..b53fb0888 --- /dev/null +++ b/share/completions/xclip.fish @@ -0,0 +1,14 @@ +# xclip is a command line interface to X selections (clipboard). +# See: xclip(1) + +complete -c xclip -o in -s i -d 'Read text into X selection from stdin' +complete -c xclip -o out -s o -d 'Prints the selection to stdout' +complete -c xclip -o loops -s l -d 'Number of selection requests to wait for before exiting' +complete -c xclip -o display -s d -d 'X display to connect to' +complete -c xclip -o help -s h -d 'Usage information' +complete -c xclip -o selection -x -d 'Selection to access' -a 'primary\tDefault secondary\t clipboard\t buffer-cut\t' +complete -c xclip -o target -x -d 'Use the given target atom' +complete -c xclip -o version -d 'Version information' +complete -c xclip -o silent -d 'Errors only, run in background (default)' +complete -c xclip -o quiet -d 'Run in foreground, show what\'s happening' +complete -c xclip -o verbose -d 'Running commentary'