From 3b20d470394fec8a300b1b45cb8c7b40e2b2fb78 Mon Sep 17 00:00:00 2001 From: masterzu Date: Wed, 16 Jan 2019 12:49:13 +0100 Subject: [PATCH] bash: add golang env --- .bash_aliases | 2 +- .bashrc | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.bash_aliases b/.bash_aliases index e713f0c..0423d76 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -9,7 +9,7 @@ alias sc=screen alias h=history alias td='todo -c --force-colour --filter -done,+children | less -r' alias tdall='todo --force-colour -A|less -r' -alias go=gnome-open +#alias go=gnome-open alias pp='python -mjson.tool' alias cd='cd -P' alias tm=tmux diff --git a/.bashrc b/.bashrc index 71c8d38..bcff012 100755 --- a/.bashrc +++ b/.bashrc @@ -84,4 +84,10 @@ test -z "$TMUX" -a "$TERM" == "st-256color" && { test -n "$(tmux ls 2>/dev/null)" && exec tmux attach || exec tmux } +# golang env +export PATH=$PATH:/home/patrick/src/golang/go1.11.2/bin +export GOPATH=/home/patrick/devel/golang + + + # end .bashrc