bashrc (563B)
1 #!/usr/bin/env bash 2 [ -f ~/.fzf.bash ] && source ~/.fzf.bash 3 4 # don't put duplicate lines or lines starting with space in the history. 5 # See bash(1) for more options 6 export HISTCONTROL=ignoreboth 7 8 # append to the history file, don't overwrite it 9 shopt -s histappend 10 11 # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 12 export HISTSIZE=1000 13 export HISTFILESIZE=2000 14 export HISTFILE="$XDG_STATE_HOME/bash/bash_history" 15 16 # check the window size after each command and, if necessary, 17 # update the values of LINES and COLUMNS. 18 shopt -s checkwinsize 19