[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bash keeps reloading default bind key settings
From: |
Jimi |
Subject: |
Bash keeps reloading default bind key settings |
Date: |
Tue, 3 Mar 2009 16:44:14 -0800 (PST) |
User-agent: |
G2/1.0 |
Hi all,
Strange condition that i can't find the solution to.
My bash for RH 3.4.6, is 3.00.15(1)
I have a .inputrc file with some settings like
"\C-w": kill-region
"\M-u": upcase-word
The \C-w bind is different than the default ( which is to unix-word-
rubout )
I can change this by doing a
bind -f .inputrc but it doesn't keep the value.
What I mean is that it temporarily changes the value, but then changes
it back to default.
The way I verify this is as follows:
bind -f .inputrc '"\C-w":kill-region' && bind -p | grep "kill-region"
"\C-w": kill-region
But if I do
bind -f .inputrc
sleep 3
bind -p | grep "kill-region"
I get
# kill-region (not bound)
Even the commands bind -u unix-word-rubout don't work either for
more than a split second.
Any idea what is causing this immediate reloading all of the time ?
Thanks for any suggestions.
- Bash keeps reloading default bind key settings,
Jimi <=