Skip to content

Instantly share code, notes, and snippets.

@hh
Created September 1, 2014 16:06
Show Gist options
  • Save hh/629db64a006a48fac54a to your computer and use it in GitHub Desktop.
Save hh/629db64a006a48fac54a to your computer and use it in GitHub Desktop.
Unlimited, multi-shell bash history
# From https://github.com/fotinakis/bashrc/blob/master/init.sh#L35
export HISTFILESIZE=
export HISTSIZE=
export HISTIMEFORMAT="[%F %T] "
export HISFILE=~/.bash_eternal_history
PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
# https://github.com/joshuacronemeyer/shellsink
# is a centralized web based version for all your shells, I didn't look at it
# but it's an interesting concept
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment