# Default bashrc file DOTFILES=/home/cmte/dotfiles/bash; export DOTFILES # Set bash-completion 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 # Set Bash history HISTCONTROL=ignoredups HISTSIZE=10000 HISTFILE_SIZE=20000 shopt -s checkwinsize # Set PS1 variable export PS1="[\u@\h \W]\\$ \[$(tput sgr0)\]" # Read configurations [ -f $DOTFILES/aliases ] && . $DOTFILES/aliases [ -f $DOTFILES/paths ] && . $DOTFILES/paths [ -f $DOTFILES/environment ] && . $DOTFILES/environment [ -f $DOTFILES/ps1 ] && . $DOTFILES/ps1 source "$HOME/.cargo/env" # enable firefox hw renderer export MOZ_X11_EGL=1 . "$HOME/.cargo/env"