ubuntu 安装命令行自动补全
ubuntu 安装命令行自动补全
~# apt-get install bash-completion
~# source /etc/bash_completion
编辑/etc/bash.bashrc,在最后加入如下代码
[plain]
if [ -f /etc/bash_completion ]; then
/etc/bash_completion
fi
重新登录
评论
TwikooValine
~# apt-get install bash-completion
~# source /etc/bash_completion
编辑/etc/bash.bashrc,在最后加入如下代码
[plain]
if [ -f /etc/bash_completion ]; then
/etc/bash_completion
fi
重新登录