From ba4d5c2542e07574d0e3de14f5a6288f2478fc64 Mon Sep 17 00:00:00 2001 From: Frieder Schlesier Date: Fri, 23 Nov 2018 18:15:07 +0100 Subject: [PATCH] move gopath to .path to activate on non-interactive shells --- .bashrc | 4 ---- .path | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 .path diff --git a/.bashrc b/.bashrc index 8143c12..bc59075 100755 --- a/.bashrc +++ b/.bashrc @@ -114,7 +114,3 @@ if ! shopt -oq posix; then . /etc/bash_completion fi fi - -export GOROOT=/usr/local/go -export GOPATH=/home/fschl/projects/go-projects -export PATH=${PATH}:${GOROOT}/bin:${GOPATH}/bin diff --git a/.path b/.path new file mode 100644 index 0000000..31b9093 --- /dev/null +++ b/.path @@ -0,0 +1,4 @@ + +#export GOROOT=/usr/local/go/bin +export GOPATH=/home/fschl/projects/go_projects +export PATH=${PATH}:/usr/local/go/bin:${GOPATH}/bin \ No newline at end of file