English 中文(简体)
Bash 标签标签完成不工作
原标题:Bash tab-completion not working

I am trying to troubleshoot why the bash tab-completion isn t working on my fedora 19 desktop. I am afraid I just know what else to add to this that might be relevant.

问题回答

另一个可能的原因是线条:

set disable-completion on

。在 中。我不知道是什么把那个放在那里,但如果我删除了它,我发现每次我通过消防室启动贝壳时,它都被重新生成。然而,如果我把它编辑成 off ,而不是 on tab的补全工作照旧。

在Debian 12上,我的工作是安装 < code> bash- complete 软件包:

sudo apt-get install bash-completion

然后,我重新启动了贝壳, 和完成的工作正在工作。





相关问题
OSX terminal tilde bash complete

On my Linux box, when I type $ cd ~/Des[TAB] it completes to ~/Desktop/. But in OSX terminal doing the same thing expands to /Users/username/Desktop/. This appears rather annoying to me as it ...

bash tab completion without variable expansion?

Let s say I have these variables defined in my bashrc: i= cgi-bin/internal ; e= cgi-bin/external ; f= cgi-bin/foo ; b= cgi-bin/bar ; ad= cgi-bin/admin ; #etc... When I use the variable on ...

Dynamic case statement in bash

I m trying to figure out how to create a dynamic case statement in a bash script. For example, let s say I have the output of an awk statement with the following contents red green blue In this ...

bash completion of makefile target

Suppose I have a simple makefile like: hello: echo "hello world" bye: echo "bye bye" Then in bash I want something like: make h < tab > so it can complete to make hello I found a ...

Writing a custom bash-completion rule

I have directories full of files with the same prefix, which I want to be able to quickly open in vim. For example, I might have: $ ls * bar: bar_10 bar_20 bar_30 foo: foo_10 foo_20 foo_30 What ...

热门标签