From a7bb032286d1688fd07579a44a03cbb80ab4db6b Mon Sep 17 00:00:00 2001 From: Hactarus Date: Mon, 16 Jan 2017 10:53:01 +0100 Subject: [PATCH] add Golang path --- .bash_export | 3 +++ .bashrc | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 .bash_export 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