Created
December 30, 2013 23:30
-
-
Save michaelklapper/8189991 to your computer and use it in GitHub Desktop.
Color up your bash history with the date time information of called commands.
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
MY_BASH_BLUE="\033[0;34m" #Blue | |
MY_BASH_NOCOLOR="\033[0m" | |
HISTTIMEFORMAT=`echo -e ${MY_BASH_BLUE}[%F %T] $MY_BASH_NOCOLOR ` | |
HISTSIZE=20000 | |
HISTFILESIZE=20000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment