bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ~/.inputrc not obeyed in bash/2.05b


From: Chet Ramey
Subject: Re: ~/.inputrc not obeyed in bash/2.05b
Date: Thu, 24 Jun 2004 17:08:51 -0400

> This bug affects bash/2.05b. Version 2.05 did not have this bug.
> 
> Put the following two lines in ~/.inputrc:
> 
>     set glob-complete-word off
>     M-g: kill-word
> 
> When you run bash/2.05b, the M-g binding does not take effect. However, 
> using C-xC-r after the shell is running *does* pick up the binding.

This is because M-g is a binding set by bash.  In bash-2.05b, the
bash- specific keybindings (the ones listed in the man page) are set
unconditionally after the inputrc is read.  The next version tries
harder to make sure a particular binding hasn't been changed in the
inputrc before binding the sequence to a bash-specific function. 

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    address@hidden    http://tiswww.tis.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]