You are not logged in.
I have a strange tab completion quirk that is sufficiently annoying, but I haven't been able to figure out how to nail this problem down. I've checked the bash wiki page, and tried google, but so far, no luck.
Anyway, my problem is that after I hit the tab key to complete a name in the shell, it inserts a space after it---forcing me to hit backspace, instead of the normal behavior of just typing and tabbing through names. Anyway, here's an example:
[andrew@Cheetah ~]$ echo $SHELL
/bin/bash
[andrew@Cheetah ~]$ cp dataSPACE_HERE
For the last command, I type "cpSPACEdatTAB" and I get "dataSPACE".
If I switch to /bin/sh, I get the desired behavior:
[andrew@Cheetah ~]$ /bin/sh
[andrew@Cheetah ~]$ echo $SHELL
/bin/bash
[andrew@Cheetah ~]$ cp data/
For the last command, I type "cpSPACEdatTAB" and I get "data/".
Interestingly, as you can see above, /bin/sh is just a symlink to /bin/bash, and yet, the tab completion works.
In both of the above examples, I have removed my ~/.bashrc from the equation.
It hasn't always been this way, either. Although, I can't identify exactly when this started occurring. I've been busy with grading, and I've only just now had time to investigate.
Last edited by BurntSushi (2011-02-19 22:07:11)
Education is favorable to liberty. Freedom can exist only in a society of knowledge. Without learning, men are incapable of knowing their rights, and where learning is confined to a few people, liberty can be neither equal nor universal.
Tu ne cede malis sed contra audentior ito
Offline
Look at this thread for a possible solution.
Last edited by bernarcher (2011-02-19 20:57:10)
To know or not to know ...
... the questions remain forever.
Offline
Excellent. kontax's solution worked. Thanks!
Education is favorable to liberty. Freedom can exist only in a society of knowledge. Without learning, men are incapable of knowing their rights, and where learning is confined to a few people, liberty can be neither equal nor universal.
Tu ne cede malis sed contra audentior ito
Offline