go-examples/envpath/README.md

284 B

envpath

WIP

An example of getting, setting, and updating PATHs on *nix (Linux, Mac, etc).

envpath append /opt/whatever/bin
New sessions will have /opt/whatever/bin in their PATH.
To update this session run

    export PATH="$PATH:/opt/whatever/bin"