Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: [PATCH v3/RFC 1/2] Introduce functions from bash-completion project.

From: Marc Branchaud <hidden>
Date: 2016-06-15 22:49:57

On 10-10-30 04:42 PM, Peter van der Does wrote:
The completion script does not work as expected under Bash 4.
Bash: 3
output:
$ git log --pretty=<tab><tab>
email     full      medium    raw
format:   fuller    oneline   short

Bash: 4
output:
$ git log --pretty=<tab><tab>
.bash_logout         .local/
.bash_profile        Music/
--More--

With Bash 4 the way word breaking is done in the programmable completion
code has changed. The documentation at the bash project is not very
clear what was changed, the only reference found is in the NEWS section:

i.  The programmable completion code now uses the same set of characters
as readline when breaking the command line into a list of words.

The word breaking problem occurs with certain characters, like double
colon and equal sign.
Nit: "double colon" is "::" -- the name of the character is just "colon".

		M.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help