Skip to content

Instantly share code, notes, and snippets.

@sub314xxl
Forked from michaelklapper/.bashrc
Created May 29, 2023 10:28
Show Gist options
  • Save sub314xxl/54de594ab38232af82aa6cc780618b6f to your computer and use it in GitHub Desktop.
Save sub314xxl/54de594ab38232af82aa6cc780618b6f to your computer and use it in GitHub Desktop.
Color up your bash history with the date time information of called commands.
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