Skip to content

Instantly share code, notes, and snippets.

@stinkymatt
Created February 6, 2012 02:53
Show Gist options
  • Save stinkymatt/1749242 to your computer and use it in GitHub Desktop.
Save stinkymatt/1749242 to your computer and use it in GitHub Desktop.
per shell history file
HISTFILE=~/.histories/hist.`echo $HOSTNAME | cut -d. -f1`.$$.`date +%F_%T`
@stinkymatt
Copy link
Author

Configures shells to create a unique history file for each window opened. Create a ~/.histories directory to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment