Re: completion in var=$(cmd1) cmd2

2011-12-17 Thread Chet Ramey
On 12/11/11 3:41 PM, Raphaël Droz wrote: > Example: > $ var=$(id) foo > completes with completion matches from id(1) > > This is problematic for cases like: > LD_LIBRARY_PATH=$(find ...) cmd -- > where options are those from find(1). > > I didn't looked deeper but I guess the faulty part is in >

completion in var=$(cmd1) cmd2

2011-12-11 Thread Raphaël Droz
Example: $ var=$(id) foo completes with completion matches from id(1) This is problematic for cases like: LD_LIBRARY_PATH=$(find ...) cmd -- where options are those from find(1). I didn't looked deeper but I guess the faulty part is in _rl_find_completion_word() which, as its name suggest, *shou