Bash add current path to $PATH environment variable

To add the current path the the $PATH environment variable, do the following:

$ PATH=$(pwd):$PATH

This will take the current/working directory and add it to $PATH.

This post is available on GitHub.
Posted .

Comments

Leave a Reply