Created
February 2, 2012 23:47
-
-
Save przemoc/1726504 to your computer and use it in GitHub Desktop.
How not to lose your BASH history (and make it more compact)
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
# Add following lines to: | |
# - /etc/bash.bashrc | |
# - /etc/profile | |
export HISTSIZE=1000000 | |
export HISTFILESIZE=$HISTSIZE | |
export HISTCONTROL=ignoredups |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment