diff --git a/.bashrc b/.bashrc index c675c20..569e6e8 100644 --- a/.bashrc +++ b/.bashrc @@ -5,6 +5,20 @@ [[ $- != *i* ]] && return [ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion +# Bash won't get SIGWINCH if another process is in the foreground. +# Enable checkwinsize so that bash will check the terminal size when +# it regains control. #65623 +# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11) +shopt -s checkwinsize +shopt -s expand_aliases + +# export QT_SELECT=4 + +# Enable history appending instead of overwriting. #139609 +shopt -s histappend +HISTCONTROL=ignoreboth +HISTSIZE=infinte +HISTFILESIZE=infinte # Change the window title of X terminals case ${TERM} in @@ -112,19 +126,6 @@ unset use_color safe_term match_lhs sh xhost +local:root > /dev/null 2>&1 -# Bash won't get SIGWINCH if another process is in the foreground. -# Enable checkwinsize so that bash will check the terminal size when -# it regains control. #65623 -# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11) -shopt -s checkwinsize - -shopt -s expand_aliases - -# export QT_SELECT=4 - -# Enable history appending instead of overwriting. #139609 -shopt -s histappend - export PATH=$PATH:~/.local/bin:~/bin export EDITOR=vim