Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bash filename completion has a trailing slash
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
griftr
n00b
n00b


Joined: 29 Mar 2004
Posts: 25

PostPosted: Wed Apr 01, 2009 6:02 pm    Post subject: bash filename completion has a trailing slash Reply with quote

I've got a weird error and am not sure exactly when it started. I upgraded some programs on my system using emerge -uavD world, and now bash completion for filenames is putting a trailing slash on everything.

So if I have a file ~/testfile and type in:

# > vim test<tab>

it completes like this:

# > vim testfile/

And when vim opens I get an Illegal File Name error. Any ideas on how to fix this?
Back to top
View user's profile Send private message
griftr
n00b
n00b


Joined: 29 Mar 2004
Posts: 25

PostPosted: Fri Apr 03, 2009 1:24 am    Post subject: Reply with quote

I've been searching everywhere for an answer to this, as it's really annoying. Everywhere that I search seems to involve bash-completion for various other programs... no one seems to be having an issue with just the basic filename completion.

Does anyone have any help?? Or at least someplace that I can start looking?
Back to top
View user's profile Send private message
Nerevar
l33t
l33t


Joined: 31 May 2008
Posts: 710

PostPosted: Fri Apr 03, 2009 1:36 am    Post subject: Reply with quote

Take a look at this and see if it's what's happening to you:
http://www.nabble.com/Fwd%3A-Problem-with-bash-completion-tt16019987.html

What version of bash do you have?

BTW: google for "bash tab slash" returned quite a number of hits regarding this problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum