阿里云unbuntu12.04如何开启命令自动补全功能

编辑.bashrc文件,将这段前面的注释去掉

#if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
#    . /etc/bash_completion
#fi

然后刷新.bashrc,使配置更改生效

. .bashrc


你可能感兴趣的:(阿里云unbuntu12.04如何开启命令自动补全功能)