.bashrc: add golang and rust env

This commit is contained in:
Master ZU 2020-03-18 00:24:40 +01:00 committed by Patrick Cao Huu Thien
parent e8054149ce
commit d251108a65
Signed by untrusted user who does not match committer: pcao
GPG Key ID: B57DBE40C72FBCF4
1 changed files with 9 additions and 2 deletions

11
.bashrc
View File

@ -107,8 +107,15 @@ export GPG_TTY
export TUIR_BROWSER=urlportal.sh export TUIR_BROWSER=urlportal.sh
export TUIR_URLVIEWER=urlview export TUIR_URLVIEWER=urlview
# PATH ### PATH ##################################################
export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ### rust
test -d $HOME/.cargo/bin && PATH="$HOME/.cargo/bin:$PATH"
### golang - default is $HOME/go/bin
test -d $HOME/go/bin && PATH="$HOME/go/bin:$PATH"
export PATH=.:$HOME/bin:$PATH
# export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
echo "<< .bashrc" echo "<< .bashrc"