astrand / xclip

Command line interface to the X11 clipboard
GNU General Public License v2.0
1.04k stars 75 forks source link

Abbreviation for the -selection parameter #2

Open astrand opened 9 years ago

astrand commented 9 years ago

Sometimes I need to xclip -out something that is in the clipboard. I constantly keep looking up the names of the parameters: -selection clipboard, and it's also too long to type.

I have found (through code inspection) that xclip -o -se c works, too. It would be great if this was documented in the man page; bonus points for a parameter -clipboard (abbrev. -c) ;-)

Reported by: kirillmueller

Original Ticket: xclip/feature-requests/2

hackerb9 commented 3 years ago

As requested, xclip -c, has been added in the "hackerb9" branch which is pending merging. Furthermore, TAB completion exists to save you typing.