go-examples/envpath/README.md

17 lines
284 B
Markdown
Raw Normal View History

2019-07-18 07:19:16 +00:00
# envpath
**WIP**
An example of getting, setting, and updating PATHs on \*nix (Linux, Mac, etc).
```bash
envpath append /opt/whatever/bin
```
```bash
New sessions will have /opt/whatever/bin in their PATH.
To update this session run
export PATH="$PATH:/opt/whatever/bin"
```