Created
November 9, 2017 18:35
-
-
Save mhoffman/07063f288ea29e8095739483b0370d1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export HISTIGNORE="&:ls:[bf]g:[cb]d:b:exit:[ ]*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Keep some very frequent commands from entering your bash history. Also, any command starting with a space (' ') will not be stored. Handy for entering sensitive information.