阿里雲unbuntu12.04如何開啓命令自動補全功能

編輯.bashrc文件,將這段前面的註釋去掉bash

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

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

. .bashrc
相關文章
相關標籤/搜索