解决 Ubuntu 10.04 server 的Tab自动补全失效的方法
时间:2011-03-02 来源:Fakis
编辑/etc/bash.bashrc文件(必须以管理员权限),找到以下几行:
# enable bash completion in interactive shells #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then # . /etc/bash_completion #fi
把后三行前面的#去掉,取消注释,变为:
# enable bash completion in interactive shells if [ -f /etc/bash_completion ] && ! shopt -oq posix; then . /etc/bash_completion fi
然后重新打开终端窗口(或者重新登录),恢复正常。
相关阅读 更多 +
- 系统休眠文件删除后果 如何删除计算机的休眠文件 2025-04-22
- 站群服务器是什么意思 站群服务器的作用 站群服务器和普通服务器的区别 2025-04-22
- jQuery插件有何作用 jQuery插件的使用方法 2025-04-22
- jQuery插件有哪些种类 简单的jQuery插件实例 2025-04-22
-