Re:Shell Tricks That Make Life Easier (and Save Your Sanity)
by rgrau on Thursday March 26, 2026 @01:33PM
(#47533334)
That's very cool!
To take advantage of the "leading space" one, I have this, to mark some commands that I never want to record:
unhist () {
alias $1=" $1"
}
unhist unhist
unhist fzf
unhist rghist #custom command that greps .zhistory,...
Something like this: