[bug] bash 不能tab
Tofloor
poster avatar
不避风云
deepin
2017-05-08 05:04
Author
https://github.com/NixOS/nixpkgs/issues/18797
问题等同于上述网址所说。
按tab就一堆乱七八糟的。

Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-05-08 16:53
#1
sudo gedit /etc/bash.bashrc

  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

去掉上面前面的#后保存

source /etc/bash.bashrc

试试
Reply View the author
avatar
不避风云
deepin
2017-05-12 17:11
#2
https://bbs.deepin.org/post/139097
sudo gedit /etc/bash.bashrc

  if [ -f /usr/share/bash-completion/bash_completion ]; then

好了,非常感谢,虽然感觉解决方案不是想象中的那么完美。
Reply View the author