[Bash-completion-devel] sh completion failure
Ville Skyttä
ville.skytta at iki.fi
Tue Mar 1 18:38:57 UTC 2011
On 03/01/2011 07:07 PM, Robby Workman wrote:
> I received (and confirmed) this from a user today:
>
> "sh /etc/rc.d/rc.my<tab>" *should* give "/etc/rc.d/rc.mysql"
> but does not. In fact, tab completion of pretty much anything
> with "sh ..." seems broken in 1.3.
Well, "broken" is a quite strong word - the sh completion intentionally
completes only on *.sh files, which is quite consistent with our other
completions.
What do others think, is sh a special case in a way that it should
complete on all files? Doing that would be easy, probably just replace
"_filedir sh" with "_filedir" at end of completions/sh.
More information about the Bash-completion-devel
mailing list