Update '.bashrc'

This commit is contained in:
eriks 2022-08-18 17:59:49 +03:00
parent 73896f3ac9
commit b5288f0491

27
.bashrc
View File

@ -5,6 +5,20 @@
[[ $- != *i* ]] && return [[ $- != *i* ]] && return
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion [ -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 # Change the window title of X terminals
case ${TERM} in case ${TERM} in
@ -112,19 +126,6 @@ unset use_color safe_term match_lhs sh
xhost +local:root > /dev/null 2>&1 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 PATH=$PATH:~/.local/bin:~/bin
export EDITOR=vim export EDITOR=vim