Created
July 9, 2017 03:17
-
-
Save keck/aff8649d37a202e0b0df817f1ba14f52 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HISTDIR="$HOME/.bash_histories/`uname -n`" | |
[[ ! -d $HISTDIR ]] && mkdir -p "$HISTDIR" | |
HISTFILE="$HISTDIR/$(date +%Y_%m)" | |
# Suppress duplicates, any two-letter commands.. | |
HISTIGNORE="&:??:exit" | |
# Dupes | |
HISTCONTROL='erasedups' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment