You are not logged in.

#1 2007-09-20 16:16:53

tanis
Member
From: Poland / Waterloo, ON, Canada
Registered: 2007-04-21
Posts: 259

bash-completion issues after bash upgrade

Hi.

Is it only me or bash-completion stopped working after bash upgrade (3.2.017-2 -> 3.2.025-1)?

I also had to remove ". /etc/profile" from all existing .bashrc files to have it properly interpreting /etc/profile and /etc/profile.d/* files,
which was fine with previous bash version. Probably that line was not needed anyway, but for sure the behavior of bash has changed.
And bash-completion doesn't work anymore at all.

bash-completion looks like it has been updated too, but it still doesn't work properly.

I have: core/bash-3.2.025-1 and extra/bash-completion-20060301-7.

"Not working properly" means that when I press the tab it does just a normal completion. Without respecting the type of a command for which I am completing the argument.
It used to complete only media files for 'mplayer', only directory names for 'cd' etc. And now it tries to complete every file present in the directory.

Hmm... I guess that '. /etc/profile' line was needed after all. When I re-added it it started working again. Though /etc/skel/.bashrc file does not have this line.
When I use the skeleton version of .bashrc, bash-completion doesn't work.

Last edited by tanis (2007-09-20 16:34:47)

Offline

#2 2007-09-20 20:12:43

tam1138
Member
Registered: 2007-09-10
Posts: 238

Re: bash-completion issues after bash upgrade

Offline

Board footer

Powered by FluxBB