Root installation

Hello,

I have installed root and have been using it without issue for a while. However, I have run the . bin/thisroot.sh
file every time I want to run root, and I am trying to edit my bash_profile so I can just type root whenever I launch a new shell. I have tried adding the following lines to my bash_profile

export ROOTSYS=/Users/nickmurphy/Documents/root
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=$ROOTSYS/lib:$DYLD_LIBRARY_PATH

However, when I type “root” at a command prompt, I just get -bash: ./root.exe: No such file or directory, even though if I navigate into my root/bin folder and type “root”, root opens. Any ideas as to what might be going on?

Thanks for the help!
Nick

In your “${HOME}/.bashrc” file try to add: if [ -f /Users/nickmurphy/Documents/root/bin/thisroot.sh ] ; then . /Users/nickmurphy/Documents/root/bin/thisroot.sh fi

Thanks! That did the trick