You are not logged in.

#1 2011-02-11 15:08:56

whitethorn
Member
Registered: 2010-05-02
Posts: 153

[SOLVED]wierd bash completion problem

I've been playing around with my bash shell.  I installed bash-completion and pacman-color from aur.  Then I added the following lines to my .bashrc.  I'm not quite sure bash-completion or pacman-color is the culprit because when I remove them my problem doesn't go away.

complete -cf sudo
complete -cf man
export HISTCONTROL=ignoredups
set echo-control-characters off

Now whenever I try to start a program.  For example the next command

python2 bin/weather/weather1.sh

Instead of trailing a tab after each directory like it used to. I get a space.

python2 bin 

I then need to backspace add a "/" then continue, the annoying part about it is that it keeps adding a space after each directory.  So each time I press tab I need to add a slash which slows things down considerably.  Anyone know what's going on?  I haven't been able to find anything about this,  and removing bash-completion and pacman-color doesn't help.

Edit:
I just noticed that "cd" works normally.  So it seems like the problem has to with using a command, AND relative paths.

Last edited by whitethorn (2011-02-12 11:14:31)

Offline

#2 2011-02-11 15:18:54

olvar
Member
Registered: 2009-11-13
Posts: 97

Re: [SOLVED]wierd bash completion problem

Offline

#3 2011-02-12 11:16:23

whitethorn
Member
Registered: 2010-05-02
Posts: 153

Re: [SOLVED]wierd bash completion problem

Thx for link, I wasn't able to find it on my own. 

Solution, remove the filedir function in /etc/bash_completion.d/acroread

Offline

#4 2011-09-13 07:58:59

caesar753
Member
Registered: 2010-09-08
Posts: 33

Re: [SOLVED]wierd bash completion problem

Finally I found this post!!

Offline

Board footer

Powered by FluxBB