summaryrefslogblamecommitdiffstats
path: root/bashrc/common/shopt.sh
blob: 07a796a212ebbff4570548e85a563fd692b6f3ca (plain) (tree)






















                                         
# bash configuration

# basic search path for chdir
export CDPATH=".:~"

# keep size of history small ...
export HISTCONTROL="ignoreboth:erasedups"

# ... but keep a lot of history
export HISTFILESIZE=5000
export HISTSIZE=5000

# save timestamp in history
export HISTTIMEFORMAT="%+ "

# check window size after each command
shopt -s checkwinsize

# save multi-line command as one line
shopt -s cmdhist

# append history
shopt -s histappend