complete on a command, then complete according to that command's own
completion specification. E.g. sudo rpm <Tab> would further complete
according to _rpm(), as if it were being called directly
iptables completion was being installed, even if it were not in user's PATH
add jadetex and pdfjadetex to commands that complete on tex files
improved tar completion to handle .tgz and .tar files
inproved tar completion to perform file completion when c*f is the first
parameter
include --repackage for rpm -[ei]
fix _cd so that it completes on directories with an embedded space
fix _file_and_dir so that it completes on directories with an embedded space
change embedded tabs in the file to $'\t' syntax
be a bit more elegant in determining location of showmount in _mount()
condense awk|grep combo in _configure() to a single sed command
be more intelligent about parsing for exclusion (-X) compspecs when
binding commands to _file_and_dir()
- use -g, not -u for group completion (duh!)
- avoid unnecessary use of $COMPREPLY_SAVE in _ssh/_scp
- use '-' as prefix (-P) to kill, not '%', and put it *before* command
- default to filename completion on _scp
- removed a couple of definitions of $prev that weren't actually used
- source ~/.bash_completion if it exists
- fixed bug in _known_hosts that caused keys to be printed from known_hosts2
files
- made _ssh a little more intelligent
- added _scp
- made _cd expand ~ in directory specs
- declared i as a local variable in many functions
umount, rmmod, find, rpm, apt-get, apt-cache, make use '-o filenames'
mount uses '-o default' to get default completion if all else fails
added basic perforce completion
check for binaries before installing functions and completions
use '-o' option to 'complete' for optimal completion behaviour
basic tar(1), iptables(8), tcpdump(8) completion added
fix quoting issue in insmod completion
add --specfile, --what{provides,requires} sections to RPM completion
move -*g) case glob down to end of case, to avoid catching --checksig in RPM
completion
check /etc/known_hosts2 & ~/.ssh/known_hosts2 for hosts in _known_hosts
completion
fixed typo in service completion
added preliminary _cd meta-function
added some more meta-functions from sample completions supplied with bash 2.04
source