dotfiles/.bashrc
2024-07-30 15:55:06 +03:00
Ask

32 lines
751 B
Bash

{ebf3f031f1505db51f98734d06072607e347dec3 true 751 .bashrc 0xc001cd39d0}

# .bashrc
export PATH=$PATH:$HOME/.local/bin
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
PS1='[\u@\h \W]\$ '
# Infinite history
HISTSIZE= HISTFILESIZE=
# Auto cd
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
# 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