Debian/Ubuntu:让apt-get install 有自动补齐功能
在 ~/.bashrc 里加入以下几行就行了。
# enable programmable completion features
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
在 ~/.bashrc 里加入以下几行就行了。
没有评论▼