本文介绍了猛砸自动完成不逃避的空间,在Ubuntu 11.4没有标注目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级到Ubuntu 11.4和我在与巴什自动完成的问题。

I just upgraded to Ubuntu 11.4 and I'm having problems with Bash autocomplete

例如,如果我想裁谈会的Calibre库目录,当我键入

for example, if I want to cd to Calibre Library directory, when I type

cd Cal<TAB>

我得到

cd Calibre Library CURSOR

自动完成只是打印的文件/目录名,不逃避空格或其他任何非字母数字字符,它并不标志着目录,这实在是烦人。

the autocomplete just prints the file/directory name, without escaping the SPACE or any other non alphanumeric characters, and it doesn't mark directories, it is really annoying

我已经通过在/ etc / INPUTRC看了看,甚至还添加了

I've looked through /etc/inputrc and even added

# append a '/' to show a dir is a dir
set mark-directories on
set mark-symlinked-directories on

但它并不能帮助:(

but it doesn't help :(

推荐答案

这是由于bash的自动完成1.3和找到acroread之间的冲突。请参见和https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/716008 。一种解决方法是删除 /etc/bash_completion.d/acroread.sh ,然后执行。在/ etc / bash_completion

It is due to a conflict between bash-completion 1.3 and acroread. See http://forums.adobe.com/thread/745833 and https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/716008 . A workaround is removing /etc/bash_completion.d/acroread.sh, then execute . /etc/bash_completion.

这篇关于猛砸自动完成不逃避的空间,在Ubuntu 11.4没有标注目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 23:27