summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/shell/profile4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
index 5a543ad..0539ba1 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -15,13 +15,15 @@ export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
-export GOPATH="$XDG_DATA_HOME/go"
export LESSHISTFILE="-"
export HISTFILE="$XDG_STATE_HOME/bash/history"
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
# Golang specific
+export GOBIN="$HOME/.local/bin/go"
export GOPATH="$XDG_DATA_HOME/go"
export GOMODCACHE="$XDG_CACHE_HOME/go/mod"
+# read go programs
+export PATH="$PATH:$GOBIN:$GOPATH/bin"
# less
export LESS=-R
if command -v source-highlight &> /dev/null; then