[Bash-completion-devel] [bash-completion-Bugs][312164] Completions after "screen " should include all executables on current path

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Mon Apr 25 12:55:00 UTC 2011


Bugs item #312164, was changed at 2009-12-16 00:00 by Ville Skyttä 
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312164&group_id=100114

>Status: Closed
Priority: 2
Submitted By: Ville Skyttä  (scop-guest)
>Assigned to: Ville Skyttä  (scop-guest)
Summary: Completions after "screen " should include all executables on current path 
Distribution: --Distribution-Agnostic--
Originally reported in: Fedora / Red Hat Bugzilla
>Milestone: 2.0
>Status: Fix Committed
Original bug number: 547852


Initial Comment:
Copied from https://bugzilla.redhat.com/show_bug.cgi?id=547852:

Completions for GNU screen could be improved. I would like to be able to type

  screen wg[TAB]

and it complete it as

  screen wget

etc. In other words, the second token ought to allow completions for all
executables on the current path.

(If I type

  screen /usr/bin/wg[TAB]

then it does complete; so it works fine if I specify a path, but it isn't
checking $PATH. But this is just because it's defaulting to completing
filenames; it will also complete on non-executable files.)  

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

>Comment By: Ville Skyttä  (scop-guest)
Date: 2011-04-25 15:55

Message:
http://git.debian.org/?p=bash-completion/bash-completion.git;a=commitdiff;h=976ba448251af67514af323be80fa938ffbe699d

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

Comment By: Ville Skyttä  (scop-guest)
Date: 2009-12-16 00:02

Message:
"screen $command <TAB>" should also offer completions for $command, not screen.

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

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



More information about the Bash-completion-devel mailing list