Ubuntu14.04系统Tab键不能自动补全问题解决
2016-03-14 20:54
561 查看
1、利用vi编辑器打开/etc/bash.bashrc文件(需要root权限)
Shell代码 收藏代码
接下来会提示输入密码
2、找到文件中的下列代码
Shell代码
将注释符号#去掉,即改成
3、最后 source一下 /etc/bash.bashrc即可, 即
Java代码 收藏代码
转载至/article/3754949.html,希望大家去博主那里去。
Shell代码 收藏代码
sudo vi /etc/bash.bashrc
接下来会提示输入密码
2、找到文件中的下列代码
Shell代码
#enable bash completion in interactive shells #if ! shopt -oq posix; then # if [-f /usr/share/bash-completion/bash_completion ]; then # . /usr/share/bash-completion/bash_completion # elif [ -f /etc/bash_completion]; then # . /etc/bash_completion # fi #fi
将注释符号#去掉,即改成
#enable bash completion in interactive shells if ! shopt -oq posix; then if [-f /usr/share/bash-completion/bash_completion ]; then . /usr/share/bash-completion/bash_completion elif [ -f /etc/bash_completion]; then . /etc/bash_completion fi fi
3、最后 source一下 /etc/bash.bashrc即可, 即
Java代码 收藏代码
sudo source /etc/bash.bashrc
转载至/article/3754949.html,希望大家去博主那里去。
相关文章推荐
- 论文阅读笔记:vTPM
- 猴赛雷,100台中兴智能摄像机0门槛免费领
- static_cast < type-id > ( expression ) http://blog.csdn.net/moruihong/article/details/7712260
- 自定义View相关博客【必看】
- Android SQLiteDatabase的使用
- 三大框架整合所需要注意的问题
- 《机电传动控制》第三周作业
- 阶段职业总结
- html中插入css和js
- 工作进程表
- :吃一碗荠菜馄饨,享受阳光的味道
- HDU-1838-Chessboard【dp】
- 【自分の総括】设计模式之单例设计模式
- FlabbyListView——显示ListView的Android类库
- Apache+svn
- Error "InfoPath cannot save the following from:…….. 的解决方案
- HTTP multipart/form-data格式之文件上传
- 分页查询
- linux内核分析四
- 重载和重写的区别