Created
March 29, 2013 17:06
-
-
Save kcarnold/5272142 to your computer and use it in GitHub Desktop.
Shell history is valuable. Disk space is cheap. Store more history than bash's default.
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
# don't put duplicate lines in the history. See bash(1) for more options | |
HISTCONTROL=ignoredups:ignorespace | |
HISTIGNORE=ls:fg | |
# append to the history file, don't overwrite it | |
shopt -s histappend | |
# for setting history length, see HISTSIZE and HISTFILESIZE in bash(1) | |
HISTSIZE=10000 | |
HISTFILESIZE=20000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment