Skip to content

Commit d561eb9

Browse files
committed
update readme
1 parent 37cea8d commit d561eb9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* bash - entries are added to `~/.bashrc`
55
* fish - entries are added to `~/.config/fish/config.fish`
66
* windows - entries are added to the registry for the current user
7+
* osx - entries are added to a user launchctl script. You will have to restart
8+
programs to pick up the new environment. (ie restart your terminal)
79

810
## Installation
911
`penv` is both a library and a command. To use the library in your own code see
@@ -27,6 +29,8 @@ Here's its usage:
2729
Permanently append VALUE to NAME in the environment
2830

2931
## Gotchas
32+
Windows requires at least Go 1.3.
33+
3034
Different operating systems / shells aren't really compatible. I'm able to discern which environment variables I'm responsible for with shells (like bash) by using their config files, but I can't do that with Windows or OSX. All appends will get collapsed into sets, and unsets aren't just masking the value, they may actually remove it.
3135

3236
In other words this command works but it's dangerous. If you set your `PATH` don't be surprised when it clears all the previous values and you can't get them back.

0 commit comments

Comments
 (0)