Guys, I want to try to add a path to my .bash_profile which originates from my root directory. How do I do that?
Path I want to add:
/root/opt/local/bowtie/
Current .bash_profile code:
Code:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
if [ ! -f $HOME/.ssh/id_rsa ] ; then
/opt/bin/pssc-config-sshkeys
fi
I added on this code for the path at the end:
Code:
# Addition of bowtie path
PATH=$PATH:/opt/local/bowtie
export PATH
fi
But it gave a syntax error. Hope someone can help solve this.
Thanks.