# don't put duplicate lines or lines starting with space in the history. # See bash(1) for more options export HISTCONTROL=ignoreboth # append to the history file, don't overwrite it shopt -s histappend # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) export HISTSIZE=10000 export HISTFILESIZE=10000 export HISTTIMEFORMAT="%d/%m/%y %T " # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. shopt -s checkwinsize