To add to system path:
-
Modify the permissons to make it executable any where on your command line chmod +x joesdeploy
-
Copy the bash script to your bin folder cp joesdeploy /usr/local/bin
-
Change directorys in to /usr/local/bin
-
nano or vim .bash_profile
-
add the following line export PATH="/usr/local/bin/joesdeploy:$PATH"
-
Execute anywhere on your system by typing in joesdeploy
ENJOY