dots/bash/options

25 lines
550 B
Text
Raw Normal View History

2009-01-13 17:19:13 -05:00
# put history in .bash
export HISTFILE="${HOME}/.bash/.history"
2009-01-14 22:12:55 -05:00
export HISTSIZE=1000
2009-09-13 13:33:03 -05:00
# ignore both duplicates and whitespace in history
2009-01-13 17:19:13 -05:00
export HISTCONTROL=ignoreboth
2010-05-31 15:39:20 -07:00
# save multiline history as one entry
shopt -s cmdhist
2009-01-13 17:19:13 -05:00
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
2010-05-31 15:39:20 -07:00
# extended globing enabled
shopt -s extglob
ulimit -c 0