Some resources for my daily shell.
Ian Macdonald's bash completion which is commonly
packaged in many Linux distribution helps me a lot.
However, with some distribs, I never managed to have completion through ssh
work out of the box, although it appears to be a great
help to complete paths of scp or rsync arguments. A
mysterious -o 'Batchmode yes'
is inserted
in the ssh command line, and some versions of ssh does not seem to like
it. Here is simple redefinitions of some functions
from /etc/bash_completion
without this
option, it is intended to be loaded after the default
bash completion definitions.
fixed_ssh_bash_completion.gz