# # ~/.bashrc # # If not running interactively, don't do anything [[ $- != *i* ]] && return # aliases alias ls='ls --color=auto' alias grep='grep --colour=auto' alias egrep='egrep --colour=auto' alias fgrep='fgrep --colour=auto' if [ -e ~/.bashrc.aliases ]; then source ~/.bashrc.aliases fi # prompt if [ "$UID" != 0 ]; then PS1="[\[\033[1;35m\]\u\[\033[m\]@\[\033[1;32m\]\h\[\033[m\]]\[\033[0;36m\]\w\[\033[m\]\[\e[1;33m\]$\[\e[0m\] " else PS1="[\[\033[1;31m\]\u\[\033[m\]@\[\033[1;32m\]\h\[\033[m\]]\[\033[0;36m\]\w\[\033[m\]$ " fi PS2="\033[1;32m>\033[0m " # bash completion if [ -r /usr/share/bash-completion/bash_completion ]; then . /usr/share/bash-completion/bash_completion fi # bash tuning shopt -s direxpand shopt -s checkhash shopt -s checkwinsize shopt -s expand_aliases shopt -s autocd cdspell shopt -s extglob dotglob shopt -s no_empty_cmd_completion shopt -s autocd cdable_vars cdspell shopt -s cmdhist histappend histreedit histverify BROWSER=/usr/bin/chromium EDITOR=/usr/bin/nano # Video hardware support export VDPAU_DRIVER=nvidia export LIBVA_DRIVER_NAME=vdpau # screenfetch /usr/bin/screenfetch | lolcat