dotfiles

My collection of dotfiles
git clone git://git.stellar-nexus.ru/dotfiles
Log | Files | Refs

bash_profile (529B)


      1 # /etc/skel/.bash_profile
      2 
      3 # This file is sourced by bash for login shells.  The following line
      4 # runs your .bashrc and is recommended by the bash info pages.
      5 if [[ -f ~/.bashrc ]] ; then
      6 	. ~/.bashrc
      7 fi
      8 [ -f $HOME/.bashrc ] && . $HOME/.bashrc
      9 if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
     10 	exec startx
     11 fi
     12 #if shopt -q login_shell; then
     13 #    [[ -f ~/.bashrc ]] && source ~/.bashrc
     14 #    [[ -t 0 && $(tty) == /dev/tty1 && ! $DISPLAY ]] && exec startx
     15 #else
     16 #    exit 1 # Somehow this is a non-bash or non-login shell.
     17 #fi