Skip to content

Commit

Permalink
fix: update doc
Browse files Browse the repository at this point in the history
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
  • Loading branch information
JeyJeyGao committed Apr 27, 2023
1 parent 7f0500f commit b298972
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions building.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ Building above binaries require [golang](https://golang.org/dl/) with version `>

If you confront `notation not found`, please add `~/bin/` to your $PATH:
```sh
export PATH="$HOME/bin:$PATH"
PATH="$HOME/bin:$PATH"
```
If you would like to add the path permanently, add the command to your Bash `~/.profile` file:
If you would like to add the path permanently, add the command to your shell `profile`:
```sh
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.profile
source ~/.profile
echo 'PATH="$HOME/bin:$PATH"' >> $profile_path
source $profile_path
```
For other shells, please add the command to the corresponding `profile` file.
- Bash: ~/.bash_profile or ~/.profile
- Zsh: ~/.zprofile
- Ksh: ~/.profile
The `profile_path` per shell:
- Bash: `~/.bash_profile` or `~/.profile`
- Zsh: `~/.zprofile`
- Ksh: `~/.profile`

0 comments on commit b298972

Please sign in to comment.