深度终端sudo apt ...不能补全
Tofloor
poster avatar
grid
deepin
2017-05-05 03:44
Author
本帖最后由 grid 于 2017-5-4 19:48 编辑


中间按过很多次 tab 键了!tty模式下可以补全。
Reply Favorite View the author
All Replies
avatar
A·S·M·X·T 😏😜
deepin
2017-05-05 04:21
#1
本帖最后由 liululin 于 2017-5-4 20:24 编辑
  1. cat ~/.bashrc
Copy the Code
保证系统已安装bash-completion,并查看这段有没有:

Reply View the author
avatar
wangyong
deepin
2017-05-05 04:26
#2
我最喜欢用我的录屏打反击战了,解决方案看楼上。 :)

Reply View the author
avatar
grid
deepin
2017-05-05 06:03
#3
https://bbs.deepin.org/post/138939
保证系统已安装bash-completion,并查看这段有没有:



没有 ~/.bashrc 这个文件,bash-completion是安装了的。
Reply View the author
avatar
grid
deepin
2017-05-05 06:08
#4
https://bbs.deepin.org/post/138939
我最喜欢用我的录屏打反击战了,解决方案看楼上。 :)

的确好用,可以更直观的反馈和帮助.^_^
Reply View the author
avatar
8***8@qq.com
deepin
2017-05-05 07:00
#5
你deepin是什么版本?deepin15刚出来的时候是不能用apt补全的,刚才试了一下又可以了,所以估计是你deepin版本的问题
Reply View the author
avatar
A·S·M·X·T 😏😜
deepin
2017-05-05 07:00
#6
https://bbs.deepin.org/post/138939
没有 ~/.bashrc 这个文件,bash-completion是安装了的。

不太清楚你.profile和.bashrc都没有: (
看看你的/etc/bash.bashrc ,把我2楼截图那段内容的#去掉,重启terminal试试吧
Reply View the author
avatar
grid
deepin
2017-05-05 07:19
#7
https://bbs.deepin.org/post/138939
你deepin是什么版本?deepin15刚出来的时候是不能用apt补全的,刚才试了一下又可以了,所以估计是你deepin ...


Reply View the author
avatar
grid
deepin
2017-05-05 07:27
#8
https://bbs.deepin.org/post/138939
不太清楚你.profile和.bashrc都没有: (
看看你的/etc/bash.bashrc ,把我2楼截图那段内容的#去掉,重启ter ...



ok,可以了吧你截图的那段注释去掉就可以了。
Reply View the author