Last active
October 5, 2022 08:27
-
-
Save zzzarius/825080746b5a0a59b5bd37d9770cca5d to your computer and use it in GitHub Desktop.
Improve bash history
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='ignoreboth:erasedups:history:ls:pwd:clear' | |
export HISTTIMEFORMAT='%F, %T ' | |
PROMPT_CMMAND='history -a' | |
HISTFILESIZE=1000000 | |
HISTSIZE=100000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment