# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

# User specific environment and startup programs
sys=`uname -s`

if [[ "$sys" == "Linux" ]]; then
	PATH=$PATH:$HOME/.local/bin:$HOME/bin:/opt/intel/bin
else
	PATH=.:/usr/bin:/usr/local/bin:$HOME/bin:/home/system/disks/s/theox/bin:
	PATH=$PATH:/home/system/disks/s/theox/command:/home/system/disks/s/libraries/txbasic
fi

export PATH

if [[ "$-" == *i* ]]; then
 # set txsid
 /system/theox/os/txsid
 # Run startup program from account.ini if any
 exec=`$b_tx/os/accparam b_exec`
 [[ "$exec" != "" ]] && . $exec
fi
