Rick Cogley's Tech Logr

Short Technical Laser Bursts %%

RC Logr 20200730 113444

Thursday, 30 Jul, 2020

If you make a mistake and enter sensitive information in your zsh prompt, it is saved in history. Since you do not want that info sitting around in a plain text file, simply edit $HISTFILE to get rid of the offending line, then use fc -R to reload the history file. 😎

A couple of tips:

RC Logr 20200730 113444 - If you make a mistake and … Rick Cogley
Back to Home Tweet Link