For some reason, my $PATH variable is not being set properly which means I can't run a lot of commands I would like to. Here are the relevant lines from my
if [[ -f ~/.profile]]; then source ~/.profile fi
Here is my
pathdirs=( ~/.rvm/bin /usr/local/heroku/bin /usr/local/shar/scala-2.10.0/bin ) for dir in $pathdirs; do if [[ -d $dir ]]; then path+=$dir fi done
When I echo my $PATH variable, none of these three items shows up. All I get when I run
cat $PATH is
/usr/texbin. Could anyone see if I'm doing something wrong?