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

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

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

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

. .bashrc
相关文章
相关标签/搜索