Created
December 16, 2025 11:57
-
-
Save mike-clark-8192/86fd3520b770b2d430f9e821d17a72d0 to your computer and use it in GitHub Desktop.
bashrc history settings
This file contains hidden or 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
| HISTCONTROL=ignoreboth:erasedups | |
| shopt -s histappend | |
| HISTSIZE=100000 | |
| HISTFILESIZE=100000 | |
| export HISTTIMEFORMAT="%F %T " | |
| shopt -s cmdhist | |
| shopt -s lithist | |
| export PROMPT_COMMAND="history -a; $PROMPT_COMMAND" | |
| export HISTIGNORE="pwd:bg:fg:history:exit:relog:clear" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment