On 2/20/11 10:11 PM, Clark J. Wang wrote:

> I just tried with a very simple ~/.bashrc:
> 
> COMP_WORDBREAKS=${COMP_WORDBREAKS//[:@]/}
> printf '%q\n' "$COMP_WORDBREAKS"
> 
> bind "set bell-style none"
> printf '%q\n' "$COMP_WORDBREAKS"
> 
> When bash starts, I can see:
> 
> $' \t\n"\'><=;|&('
> $'@ \t\n"\'><=;|&('
> bash-4.2#
> 
> And other bind command like bind "set completion-ignore-case on" can also
> reproduce.

This has to do with whether or not you run this command before readline
initializes.  It will be fixed in the next version of bash.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to