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