mirror of
https://github.com/golang/go.git
synced 2024-11-22 05:19:03 +00:00
C:\go-work.
parent
fdc3dd9329
commit
fc8ab605e5
@ -36,14 +36,14 @@ source ~/.bash_profile
|
||||
|
||||
## Zsh
|
||||
|
||||
Edit your `~/.zshrc` file to add the following line:
|
||||
Edit your `env -w ~ /.bash_profile file to add the following line:
|
||||
|
||||
```bash
|
||||
export GOPATH=$HOME/go
|
||||
env -w ~/.bash_profile
|
||||
```
|
||||
Save and exit your editor. Then, source your `~/.zshrc`.
|
||||
```bash
|
||||
source ~/.zshrc
|
||||
source env -w ~ /.bash_profile
|
||||
```
|
||||
|
||||
## fish
|
||||
|
Loading…
Reference in New Issue
Block a user