[Bug 53887] Re: [patch] Command completion should be enhanced
Sami Pietila
sampie at iki.fi
Sat Jan 26 08:44:04 UTC 2013
For bash 4.2 the maintainers have implemented features which can be
activated to get the wanted behavior. See .inputrc config options.
However, it can be seen from bash-4.2 source code that there is a bug in
the implementation which prevents needed set show-all-if-ambiguous and
set menu-complete-display-prefix to be activated at the same time.
I reported this bug to bash maintainers 2012-March and sent the patch to
fix the bug, but at least ubuntu 12.10 is still shipping a bash version
with the bug.
--- Configuration for .inputrc ---
TAB:menu-complete
set show-all-if-ambiguous on
set menu-complete-display-prefix on
---
** Patch added: "A fix for the bug which prevents set show-all-if-ambiguous and set menu-complete-display-prefix to be used at the same time."
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/53887/+attachment/3500978/+files/complete.c.diff
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/53887
Title:
[patch] Command completion should be enhanced
Status in “bash” package in Ubuntu:
Confirmed
Bug description:
When bash has more than one completion alternatives, it prints the
list of possible completions. If user presses the TAB again, the list
is showed again. There should be a completion mode which
browses/suggests a item from the completion list instead of showing
the list again. This would be like a mixture of the default completion
mode and the menu-complete.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/53887/+subscriptions
More information about the foundations-bugs
mailing list