diff --git a/.bash_export b/.bash_export new file mode 100644 index 0000000..3879aa7 --- /dev/null +++ b/.bash_export @@ -0,0 +1,3 @@ +export GOROOT=$HOME/go +export GOPATH=$GOROOT/bin +export PATH=$PATH:$GOROOT/bin diff --git a/.bashrc b/.bashrc index 2e12e1d..85f697f 100644 --- a/.bashrc +++ b/.bashrc @@ -15,3 +15,6 @@ fi if [ -f ~/.bash_ps ]; then . ~/.bash_ps fi +if [ -f ~/.bash_export ]; then + . ~/.bash_export +fi