先安装软件
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
本文标题:Ubuntu Tab自动补全
本文链接:https://www.haomeiwen.com/subject/iktbzktx.html
网友评论