Added instructions on setting GOPATH and GOBIN on fish shell

César I Cruz 2018-02-05 22:46:28 -04:00
parent c94a32aa06
commit 7b68a14c97

@ -39,6 +39,21 @@ Save and exit your editor. Then, source your `~/.zshrc`.
$ source ~/.zshrc
```
## fish
```bash
set -x -U GOPATH $HOME/go
```
> The `-x` is used to specify that this variable should be exported
> and the `-U` makes this a universal variable, available to all sessions and
> persistent
To set the GOBIN path:
```bash
set -x -U GOBIN $GOPATH/bin
```
# Windows
Your workspace can be located wherever you like,