Hi guys
There is a thing that I would like to fix.
After the installation of root I have added in the file .bashrc the path to thishroot.sh, so I can run root in a new terminal without having to source thisroot.sh every time. I have added a line like:
source root/builddir/bin/thisroot.sh #Source root
However, when I open a new terminal starting in a different folder from the home directory, I receive this warning:
bash: root/builddir/bin/thisroot.sh: File or directory non existing
I have fixed this adding to bashrc the specific path to thisroot.sh from that specific directory. For example for directory Document, a subdirectory of Home:
source ../root/builddir/bin/thisroot.sh #Source root
however I should do this for every directory I want to run root, very annoying. Is there a clear way to achieve this?
Platform: Ubuntu