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.