From d251108a65e48069b6926a692a815e9544e559e6 Mon Sep 17 00:00:00 2001 From: Master ZU Date: Wed, 18 Mar 2020 00:24:40 +0100 Subject: [PATCH] .bashrc: add golang and rust env --- .bashrc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 19169f3..79bf270 100755 --- a/.bashrc +++ b/.bashrc @@ -107,8 +107,15 @@ export GPG_TTY export TUIR_BROWSER=urlportal.sh export TUIR_URLVIEWER=urlview -# PATH -export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +### PATH ################################################## +### 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"