操作系统:ubuntu12.04
问题:终端下输入命令,TAB键补齐功能失效
解决方法:修改~/.bashrc,打开“programmable completion”功能,如下:
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
export PATH=/usr/local/arm/4.3.2/bin/:$PATH
export PATH=/opt/skyeye/bin:$PATH