I am having an issue with tab-completion that I am unable to solve. Specifically, whenever I try to tab-complete a directory, the completed directory name appears with a space following it instead of a forward slash to complete the rest. for example
我遇到了tab-completion的问题,我无法解决。具体来说,每当我尝试选项卡完成目录时,完成的目录名称后面会显示一个空格而不是正斜杠以完成其余的目录。例如
~$ python ~/sof
tab-completes to
tab-complete to
~$ python ~/software<space>
Instead of
代替
~$ python ~/software/
Interestingly this does not happen with cd
but with everything else it does.
有趣的是,这不会发生在cd上,而是与其他一切相关。
1 个解决方案
#1
9
Apparently it is a known bug. Deleting /etc/bash_completion.d/acroread.sh
solved the issue.
显然这是一个已知的错误。删除/etc/bash_completion.d/acroread.sh解决了这个问题。
#1
9
Apparently it is a known bug. Deleting /etc/bash_completion.d/acroread.sh
solved the issue.
显然这是一个已知的错误。删除/etc/bash_completion.d/acroread.sh解决了这个问题。