Verified Commit bb4abcec authored by Gigadoc 2's avatar Gigadoc 2

make bash history larger and duplicate-free

parent 1d082093
......@@ -9,7 +9,10 @@
# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
shopt -s checkwinsize
# Enable history appending instead of overwriting.
# Append history instead of overwrite, remove duplicates and have large limits
export HISTCONTROL=ignoredups:erasedups
export HISTSIZE=9000
export HISTFILESIZE=$HISTSIZE
shopt -s histappend
# Set regular bash prompt(s)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment