docs:tips_n_tricks:bash.html
Table of Contents
bash
Dont keep edits in history (as zsh does)
bind 'set revert-all-at-newline on'
References:
History operations
Save history without exiting bash
history -A
Show history with full timestamps
HISTTIMEFORMAT='%Y-%m-%d %H:%M:%S ' history
Undo edits in history
M-r (or ESC,r) | Restore last version |
erase line and press ENTER | |
C-x,C-u | Undo last key |
C-_ | |
C-/ |
References:
Bash Prompt
docs/tips_n_tricks/bash.html.txt · Last modified: 07.04.2024 15:23 CEST by peter