# To read the .bash_aliases file on starting a new Terminal session
# without having to do it manually
# Added by Stuart 140412

# source ~/.profile

if [ -f ~/.bash_aliases ]; then
	. ~/.bash_aliases
fi

if [ -f ~/.bash_functions ]; then
	. ~/.bash_functions
fi

if [ -f $/usr/local/etc/bash_completion ]; then
    . $/usr/local/etc/bash_completion
fi

if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

# Set architecture flags
# ----------------------
## See http://hackercodex.com/guide/mac-osx-mavericks-10.9-configuration/
# Set by Stuart 140412
export ARCHFLAGS="-arch x86_64"

# Set PYTHONPATH
# --------------
# for gnuradio (see README in /usr/local/Cellar/gnuradio/3.7.9.1_1)
export PYTHONPATH=/usr/local/lib/python2.7/dist-packages:$PATH

# Load RVM into a shell session *as a function
# ---------------------------------------------
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

# Consolidated PATH settings
# ------------------------------
# Updated by Stuart 170313
##

export PATH=/usr/local/sbin:$PATH
export PATH=/usr/sbin/lib:$PATH
export PATH=/usr/sbin:$PATH
export PATH=/usr/bin:$PATH
export PATH=/sbin:$PATH
export PATH=/bin:$PATH
export PATH=/usr/local/etc:$PATH
export PATH=/usr/local/bin:$PATH
export PATH=/usr/local/Cellar:$PATH
export PATH=/usr/local/Cellar/mutt:$PATH
export PATH=/usr/local/opt/ruby/bin:$PATH
export PATH=/Users/Stuart/.composer/vendor/bin:$PATH
export PATH="/Applications/Utilities/Brettterpstra":$PATH
export PATH="/Applications/Utilities/Brettterpstra/vitag-master":$PATH
export PATH=/Applications/VirtualBox.app/Contents/MacOS:$PATH
export PATH=/Users/Stuart/zshrc:$PATH
export PATH=/usr/local/opt/qt@5.7/bin:$PATH
export PATH=/Users/Stuart/.ssvnc/MacOSX:$PATH
export PATH=/Users/Stuart/.rvm/gems/ruby-2.4.0@global/bin:$PATH
export PATH=/Users/Stuart/.rvm/gems/ruby-2.4.0/bin:$PATH


# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
# -------------------------------------------------------------------------------
export PATH=$HOME/.rvm/bin:$PATH

