Update .bashrc

This commit is contained in:
Spirit 👾 2024-07-30 15:55:06 +03:00 committed by GitHub
parent 87231f4250
commit 9e872a8598
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

15
.bashrc
View File

@ -13,4 +13,19 @@ HISTSIZE= HISTFILESIZE=
# Auto cd # Auto cd
shopt -s autocd shopt -s autocd
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
source $HOME/.bash_aliases source $HOME/.bash_aliases
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi