summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-05-12 23:08:38 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2024-05-12 23:08:38 -0400
commit231d1bf28459cd90112b54f98263d23c789feca9 (patch)
tree1537f5fb9ba753766f8da5f7193c1183122ef259
parent3d1d3908bd36d00d446fad6a9375f65681fafdb5 (diff)
Fix GOPATH not properly added to PATH
-rw-r--r--.profile18
1 files changed, 9 insertions, 9 deletions
diff --git a/.profile b/.profile
index b04b8ae..bd1c575 100644
--- a/.profile
+++ b/.profile
@@ -22,15 +22,6 @@ export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc"
-# Path
-export PATH="$PATH:$(find "$HOME/.local/bin" -type d | paste -sd ":" -)"
-export PATH="$PATH:$GOPATH/bin"
-export PATH="$PATH:$HOME/.cargo/bin"
-export PATH="$PATH:/root/.local/bin"
-export PATH="$PATH:$HOME/.local/bin"
-export PATH="$PATH:/usr/local/go/bin"
-export PATH="$PATH:/usr/local/go/bin"
-
export DISTRIB_ID=arch
export DISTRIB_RELEASE="$(uname -r)"
export R_PROFILE_USER="$XDG_CONFIG_HOME/R/Rprofile"
@@ -50,6 +41,15 @@ export HISTFILE="$XDG_CACHE_HOME/zsh_history"
export HISTSIZE=1000
export SAVEHIST=10000
+# Path
+export PATH="$PATH:$(find "$HOME/.local/bin" -type d | paste -sd ":" -)"
+export PATH="$PATH:$GOPATH/bin"
+export PATH="$PATH:$HOME/.cargo/bin"
+export PATH="$PATH:/root/.local/bin"
+export PATH="$PATH:$HOME/.local/bin"
+export PATH="$PATH:/usr/local/go/bin"
+export PATH="$PATH:/usr/local/go/bin"
+
# Set st as the default terminal when not connected via SSH
# or xterm when connected via SSH
[ -z "$SSH_CONNECTION" ] && export TERM=st || export TERM=xterm