Skip to content

Instantly share code, notes, and snippets.

@sibelius
Created June 10, 2016 13:39
Show Gist options
  • Save sibelius/fe9953242892d2f2dcf021feb01d8e85 to your computer and use it in GitHub Desktop.
Save sibelius/fe9953242892d2f2dcf021feb01d8e85 to your computer and use it in GitHub Desktop.
shopt -s histappend
export HISTFILESIZE=
export HISTSIZE=
export HISTTIMEFORMAT="[%F %T] "
export HISTFILE=~/.bash_eternal_history
export HISTCONTROL=ignoreboth
export PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment