Red Hat Bugzilla – Bug 177808
Bash not picking up customizations from /etc/inputrc
Last modified: 2007-11-30 17:11:20 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060103 Fedora/1.5-4 Firefox/1.5
Description of problem:
I've been adding the following lines to the end of my /etc/inputrc file since before FC-1 came out, and they have always worked as expected. I type the first letter of a command, hit the up arrow key, and the most recent command in my history list starting with that letter appears on the command line. Additional presses of the up arrow take me farther back in the history list (to commands starting with the same first letter).
# for history list navigation with up/down arrows
It worked fine in bash-3.0-36 (which I just reinstalled). It does not work at all in bash 3.1-5.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Upgrade bash from 3.0-36 to 3.1-5
2. add the above three lines to /etc/inputrc
3. type the command "ls" and press the enter key
4. type the command "cat /etc/inputrc" and press the enter key
5. type the letter "l" and press the up-arrow key
Actual Results: The command line shows "cat /etc/inputrc"
Expected Results: The command line shows "ls"
FWIW, '"\e[A": history-search-backward' works.
I'll ask about this upstream.
Thanks, Tim. I've made the changes to my inputrc file (but still don't
understand the change from '\M-' to '\e'