Created
October 21, 2012 23:30
-
-
Save mapio/3928930 to your computer and use it in GitHub Desktop.
Setup the DI LabProg path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -z $BASH ]; then exit; fi; | |
if ! grep -q 'export PATH=/users/ms000123/dbin:' 2>/dev/null ~/.bash_profile; then | |
( echo; | |
echo '# Definizione del PATH per il laboratorio di programmazione...'; | |
echo 'export PATH=/users/ms000123/dbin:$PATH'; | |
echo '# non rimuovere questa e le due righe precedenti!'; | |
echo ) >> ~/.bash_profile; | |
export PATH=/users/ms000123/dbin:$PATH; | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use as:
in bash.