Working for all basic cases. Tab completion of filenames, all flags,
all selections (case insensitive), and most TARGETS. ("Most" because
this code cannot yet handle spaces in the property names.)
For example, below I typed "xclip -seTABsTAB-tTABTABTAB"
As you can see it looked up the targets available for the selection I mentioned and offers them up for completion.
Note: as a debian package, this file is supposed to install using dh_bash-completion, but I'm not exactly sure where to put that. Alternately, this could be copied by hand to /etc/bash_completion.d/ or even simply sourced at login.
Working for all basic cases. Tab completion of filenames, all flags, all selections (case insensitive), and most TARGETS. ("Most" because this code cannot yet handle spaces in the property names.)
For example, below I typed "xclip -se TAB s TAB -t TAB TAB TAB"
As you can see it looked up the targets available for the selection I mentioned and offers them up for completion.
Note: as a debian package, this file is supposed to install using
dh_bash-completion
, but I'm not exactly sure where to put that. Alternately, this could be copied by hand to /etc/bash_completion.d/ or even simply sourced at login.