Skip to content

Instantly share code, notes, and snippets.

View hyfen's full-sized avatar
💭
Building a Memex

Andrew Louis hyfen

💭
Building a Memex
View GitHub Profile

Keybase proof

I hereby claim:

  • I am hyfen on github.
  • I am hyfen (https://keybase.io/hyfen) on keybase.
  • I have a public key whose fingerprint is EA1A BA65 9586 7BFD 9AA9 B9C3 28AA 5ED3 2C32 1D18

To claim this, I am signing this object:

@hyfen
hyfen / .bashrc
Created June 12, 2017 01:08
Save unlimited bash history in OSX
# save history to ~/.bash_history as soon as command is run
export PROMPT_COMMAND='history -a'
# save unlimited history
# osx doesn't seem to respect =-1 or = options
export HISTSIZE=9999999999
export HISTFILESIZE=999999999
# osx doesn't actually respect this and it'll fall back to unix timestamp (which we want)
export HISTTIMEFORMAT="%d/%m/%y %T "