User Tools

Site Tools


docs:tips_n_tricks:bash.html

This is an old revision of the document!


bash

Dont keep edits in history (as zsh does)

bind 'set revert-all-at-newline on'

References: Superuser - How can I reset an edited history line in Bash?

“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: A comment to Superuser - How can I reset an edited history line in Bash?

docs/tips_n_tricks/bash.html.1709945323.txt.gz · Last modified: 09.03.2024 01:48 CET by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki