|
|
Two Comments
Thanks for the useful hint. I have two comments. (Perhaps I am missing something.) First, I noticed that Terminal.app maps the forward-delete key to \004 by default. If I add the following line to my .inputrc file, I get the expected forward-delete behavior.
Just do not press the forward-delete key with no text in the command line. It logs you out (just like pressing ctrl-d). The second comment is that I get error messages when I enter source ~/.inputrc because bash tries to associate thekeymappings with commands. Is there another way to reapply the .inputrc file? -Mark
Two Comments
Yes, just close the Terminal window and open a new one.
Two Comments
What I meant was how do you re-read the .initrc file without exiting the shell?
Correction
I am sorry, but I should not try to type before having coffee. I meant, how do you re-read the .inputrc file without exiting the shell?
-Mark
Solution
I found the answer by reading the bash man page (imagine that?). Use the following command.
You can substitute another filename to read keymaps from that file. -Mark
thanks plus a (worse) solution
ive read that manual a lot but you know, its oh so long and, many subjects are discussed at multiple occasions.
so thanks for that one i had missed. it will probably come to replace my previous inputrc key-binding: control-r: re-read-init-file
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|