diff options
| author | Ahmed Abdelhalim <[email protected]> | 2022-05-16 16:12:12 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2022-05-16 16:12:12 +0200 |
| commit | 87cb79e96d403ca601d4ea95699bdd3d90b784ee (patch) | |
| tree | b05d760908bfe9753a97f53643d66a9c9b69f6f2 /.bash_profile | |
| parent | b86d9d5e92b188331bb37990d4cc45b2e042bd58 (diff) | |
Add the autoloading of go bin to PATH
Diffstat (limited to '.bash_profile')
| -rw-r--r-- | .bash_profile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile index df5ab87..0735327 100644 --- a/.bash_profile +++ b/.bash_profile @@ -59,6 +59,11 @@ alias spr="cd ~/Work/Springer/" alias htb="cd ~/Work/HTB/" alias otw="cd ~/Work/OTW/" +# ==== go config. +if command -v go 1>/dev/null 2>&1; then + export PATH="$HOME/go/bin:$PATH" +fi + # ==== rbenv config. if command -v rbenv 1>/dev/null 2>&1; then export PATH="$HOME/.rbenv/bin:$PATH" |
