[Bash-completion-devel] [bash-completion-Bugs][312903] Dir completion ends with space for less, cp, rm, ln, cat

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Thu Dec 30 03:39:01 UTC 2010


Bugs item #312903, was opened at 2010-12-30 11:38 by Vladimir Lomov
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312903&group_id=100114

Status: Open
Priority: 3
Submitted By: Vladimir Lomov (vl981-guest)
Assigned to: Nobody (None)
Summary: Dir completion ends with space for less,cp,rm,ln,cat 
Distribution: None
Originally reported in: None
Milestone: 1.2
Status: None
Original bug number: 


Initial Comment:
Hi.

I'm using bash completion from git repo on Archlinux (x86_64), bash (4.1.9(2) -release (x86_64-unknown-linux-gnu)).

About a 1.5 month ago I noticed that if I type
$ less /diTAB
I get
$ less /dir 
('/dir ')

Though this is Ok if /dir is a file under / it is not Ok if I want to 'less' a file in /dir directory. Previous behavior was:
$ less /diTAB
->
$ less /dir/

Now I have to always to do
$ compopt -o filenames -o dirnames -o plusdirs (less|rm|cp|ln|cat|...)
to get "right" behavior of the programs.

Is this change was intended or I missed something?



----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312903&group_id=100114



More information about the Bash-completion-devel mailing list