Source

etc / bash / bash_profile

Full commit
export MAKEFLAGS="-j$(grep -c processor /proc/cpuinfo)"
export BASH_PROFILE=1

export VIMINIT="${VIMINIT:-"source $HOME/etc/vim/vimrc"}"
export INPUTRC="$HOME/etc/inputrc"
export SCREENRC="$HOME/etc/screenrc"
export HGRCPATH="$HOME/etc/hgrc"
export MAILRC="$HOME/etc/mailrc"
export TMPDIR="/tmp"
export BUG_PROJECT="$HOME/.TODO"
export HOSTFILE="/etc/hosts"
export RLWRAP_HOME="$HOME/.rlwrap"

export EDITOR=vim
export VISUAL=vim
export PAGER=vimpager
export MANPAGER=less

source "$HOME/etc/bash/bashrc"

# if we just logged in, startx
if ! pidof X &> /dev/null && [[ $(tty) == "/dev/tty1" ]]; then
	exec startx
	echo "ERROR: startx did not exec"
	which startx
fi