1 if [ -f /etc/bash_completion ]; then
5 xhost +local:root > /dev/null 2>&1
11 shopt -s expand_aliases
15 # shopt -s nocaseglob # never! lost a file cause of this shit
18 export HISTFILESIZE=${HISTSIZE}
19 export HISTCONTROL=ignoreboth
21 # ex - archive extractor
27 *.tar.bz2) tar xjf $1 ;;
28 *.tar.gz) tar xzf $1 ;;
29 *.tar.xz) tar -x --xz -f $1 ;;
39 *) echo "'$1' cannot be extracted via ex()" ;;
42 echo "'$1' is not a valid file"
54 PS1="[\u@\[${bldred}\]\h\[${bldblu}\] \W\[${txtrst}\]]\[${txtrst}\]\$ "
60 # make less more friendly for non-text input files, see lesspipe(1)
61 [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
64 # You may want to put all your additions into a separate file like
65 # ~/.bash_aliases, instead of adding them here directly.
66 # See /usr/share/doc/bash-doc/examples in the bash-doc package.
67 if [ -f ~/.bash_aliases ]; then
71 # set PATH so it includes user's private bin if it exists
72 if [ -d "$HOME/bin" ] ; then
73 PATH="$HOME/bin:$PATH"