bash completion

Nowadays it is unimaginable using shell without auto completion, yum and apt-get tool is different from each other.

when using yum:

1
2
yum install bash_completion
echo "source /etc/bash_completion" >>/etc/bashrc

when using apt-get

1
2
sudo apt-get install bash_completion
vim /etc/bash.rc

go to the bash_completion line and remove the comment notation there.


bash completion
https://rug.al/2015/2015-01-16-bash-completion/
Author
Rugal Bernstein
Posted on
January 16, 2015
Licensed under