docs:tips_n_tricks:bash.html
This is an old revision of the document!
Table of Contents
bash
Dont keep edits in history (as zsh does)
bind 'set revert-all-at-newline on'
References:
Undo edits in history
M-r (or ESC,r) | Restore last version |
C-x,C-u | Undo last key |
C-_ | |
C-/ |
References:
“It's even more complicated. Bash seems to restore the originally executed command, if you go back to its modified version using up, erase that one completely (C-u), press enter, and then again go back in the history. Don't ask me why. – Uwe May 8, 2013 at 12:02”
References:
docs/tips_n_tricks/bash.html.1709946333.txt.gz · Last modified: 09.03.2024 02:05 CET by peter