Skip to content

Instantly share code, notes, and snippets.

@while0pass
Forked from oblique63/addpath.sh
Created November 3, 2010 14:13
Show Gist options
  • Save while0pass/661118 to your computer and use it in GitHub Desktop.
Save while0pass/661118 to your computer and use it in GitHub Desktop.
Adds new paths to the PATH environment variable
echo "PATH=\"$1:\$PATH\" && export PATH" >> ~/.profile
source ~/.profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment