Skip to content

Commit 1f7c473

Browse files
docs: fixes #219 (#220)
* docs: fixes #219 * docs: fixes #219
1 parent 3f60cd7 commit 1f7c473

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Installation Path:
167167

168168
# Add gobrew to your ~/.bashrc or ~/.zshrc
169169
export PATH="$HOME/.gobrew/current/bin:$HOME/.gobrew/bin:$PATH"
170-
export GOROOT="$HOME/.gobrew/current/go"
170+
export GOPATH="$HOME/.gobrew/current/go"
171171
```
172172

173173
# Uninstall gobrew
@@ -229,12 +229,10 @@ echo "export GOBREW_ROOT=/usr/local/share" >> ~/.zshrc
229229
curl -sLk https://raw.githubusercontent.com/kevincobain2000/gobrew/master/git.io.sh | sh
230230
```
231231

232-
Set `GOROOT` and `GOPATH` in your shell config file (`.bashrc` or `.zshrc`).
232+
Set `GOPATH` in your shell config file (`.bashrc` or `.zshrc`).
233233

234234
```sh
235235
# optionally set
236-
export GOROOT="$HOME/.gobrew/current/go"
237-
# optionally set
238236
export GOPATH="$HOME/.gobrew/current/go"
239237
```
240238

cmd/gobrew/main_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ package main
55
const usageMsg string = `
66
# Add gobrew to your ~/.bashrc or ~/.zshrc
77
export PATH="$HOME/.gobrew/current/bin:$HOME/.gobrew/bin:$PATH"
8-
export GOROOT="$HOME/.gobrew/current/go"
8+
export GOPATH="$HOME/.gobrew/current/go"
99
1010
`

cmd/gobrew/main_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ package main
55
const usageMsg string = `
66
# Add gobrew to your environment variables
77
PATH="%USERPROFILE%\.gobrew\current\bin;%USERPROFILE%\.gobrew\bin;%PATH%"
8-
GOROOT="%USERPROFILE%\.gobrew\current\go"
8+
GOPATH="%USERPROFILE%\.gobrew\current\go"
99
1010
`

0 commit comments

Comments
 (0)