Created
February 29, 2012 14:38
-
-
Save gantzm/1941251 to your computer and use it in GitHub Desktop.
Bash history hacks.
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
# Taken from http://blog.sanctum.geek.nz/better-bash-history/ | |
# Use append mode. | |
shopt -s histappend | |
# Keep last 5000 commands | |
HISTSIZE=5000 | |
HISTTIMEFORMAT='%F %T ' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment