先安裝軟件
apt install bash-completion -y
vim .bashrc
取消注釋這幾句話
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
然后
source .bashrc
先安裝軟件
apt install bash-completion -y
vim .bashrc
取消注釋這幾句話
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
然后
source .bashrc