1 xhost +local:root > /dev/null 2>&1
 
   7 shopt -s expand_aliases
 
  11 # shopt -s nocaseglob # never! lost a file cause of this shit
 
  14 export HISTFILESIZE=${HISTSIZE}
 
  15 export HISTCONTROL=ignoreboth
 
  17 # ex - archive extractor
 
  23             *.tar.bz2)  tar xjf $1      ;;
 
  24             *.tar.gz)   tar xzf $1      ;;
 
  25             *.tar.xz)   tar -x --xz -f $1 ;;
 
  35             *)           echo "'$1' cannot be extracted via ex()" ;;
 
  38         echo "'$1' is not a valid file"
 
  50 # make less more friendly for non-text input files, see lesspipe(1)
 
  51 [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
 
  54 [[ -f ~/.aliasesrc ]] && . ~/.aliasesrc
 
  56 # set PATH so it includes user's private bin if it exists
 
  57 [[ -d "$HOME/bin" ]] && PATH="$HOME/bin:$PATH"
 
  59 # import host specific bashrc
 
  60 [[ -e ~/.bashrc_$(hostname) ]] && . ~/.bashrc_$(hostname)