Skip to content

Commit

Permalink
Merge PR cosmos#3975: Missing source ~/.bash_profile when setting t…
Browse files Browse the repository at this point in the history
…he go environment
  • Loading branch information
Frank Yang authored and jackzampolin committed Mar 26, 2019
1 parent 2dfba4e commit 83f3d1e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions .pending/bugfixes/gaia/3974-Fix-go-env-sett
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3974 Fix go env setting in installation.md
4 changes: 2 additions & 2 deletions docs/gaia/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Install `go` by following the [official docs](https://golang.org/doc/install). R
```bash
mkdir -p $HOME/go/bin
echo "export GOPATH=$HOME/go" >> ~/.bash_profile
echo "export GOBIN=$GOPATH/bin" >> ~/.bash_profile
echo "export PATH=$PATH:$GOBIN" >> ~/.bash_profile
echo "export GOBIN=\$GOPATH/bin" >> ~/.bash_profile
echo "export PATH=\$PATH:\$GOBIN" >> ~/.bash_profile
source ~/.bash_profile
```

Expand Down
5 changes: 3 additions & 2 deletions docs/translations/cn/gaia/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
```bash
mkdir -p $HOME/go/bin
echo "export GOPATH=$HOME/go" >> ~/.bash_profile
echo "export GOBIN=$GOPATH/bin" >> ~/.bash_profile
echo "export PATH=$PATH:$GOBIN" >> ~/.bash_profile
echo "export GOBIN=\$GOPATH/bin" >> ~/.bash_profile
echo "export PATH=\$PATH:\$GOBIN" >> ~/.bash_profile
source ~/.bash_profile
```

::: 提示
Expand Down
7 changes: 4 additions & 3 deletions docs/translations/kr/gaia/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
공식 [Go 문서](https://golang.org/doc/install)를 따라서 `go`를 설치하십시오. `$GOPATH`, `$GOBIN`, 그리고 `$PATH`의 환경을 꼭 세팅하세요. 예시:

```bash
mkdir -p $HOME/go/b4n
mkdir -p $HOME/go/bin
echo "export GOPATH=$HOME/go" >> ~/.bash_profile
echo "export GOBIN=$GOPATH/bin" >> ~/.bash_profile
echo "export PATH=$PATH:$GOBIN" >> ~/.bash_profile
echo "export GOBIN=\$GOPATH/bin" >> ~/.bash_profile
echo "export PATH=\$PATH:\$GOBIN" >> ~/.bash_profile
source ~/.bash_profile
```

::: tip
Expand Down

0 comments on commit 83f3d1e

Please sign in to comment.