Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
devnonymous
· 10y ago · 0 comments
> I don't use !!, or !$, because I prefer to see what command is being executed before I press enter.
shopt -s histverify
Comments
[–]
0xmohit
10y ago
histreedit is also pretty useful especially when a substitution fails.
shopt -s histreedit
If set, and readline is being used, a user is given the opportunity to re-edit a failed history substitution.
[–]
gpvos
10y ago
Until you log in to a different machine where that isn't set in the .bashrc / .profile .