Re:Fish shell 2.1
by dz0ny on Monday October 28, 2013 @09:31AM
(#6626755)
Exporting environment variables is pain, i don't know why some apps pick env others don. Android sdk is problematic for example, go compiler too.
[ Parent
| on HN ]
Exporting variables is simple: set -x #{NAME} #{value};
setting Go environment is simple too:
set -x GOPATH $HOME/go
set -x PATH $GOPATH/bin $PATHI actually have an even more complete version of this which allows changing the Go shell cleanly. Dump https://gist.github.com/bpollack/7197532 in your .config/fish/functions directory and you should be good to go.