WIP: initial draft of envpath
This commit is contained in:
parent
c88dcf22b6
commit
7ca8158a1c
|
@ -0,0 +1,16 @@
|
||||||
|
# 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"
|
||||||
|
```
|
Loading…
Reference in New Issue