From: Marc Branchaud Date: Mon, 01 Nov 2010 13:35:07 GMT Subject: Re: [PATCH v3/RFC 1/2] Introduce functions from bash-completion project. Message-ID: <4CCEC20B.1020003@xiplink.com> In-Reply-To: <1288471350-5392-2-git-send-email-peter@avirtualhome.com> 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= > email full medium raw > format: fuller oneline short > > Bash: 4 > output: > $ git log --pretty= > .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.