aboutsummaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-29 14:09:59 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-29 14:09:59 +0200
commit03bc6dbeed2b2a4e2f36de490837c1d38f3ff5c8 (patch)
tree07d32ba496c3a86436470ba4a3612b68551028ab /.profile
parent3b326e1463203dcf7fb0d223d2c06e46c5003577 (diff)
more small tweaks
Diffstat (limited to '.profile')
-rw-r--r--.profile20
1 files changed, 14 insertions, 6 deletions
diff --git a/.profile b/.profile
index d0f6c4d..6e6e07b 100644
--- a/.profile
+++ b/.profile
@@ -41,13 +41,21 @@ export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
+# ruby
+export GEM_HOME="$XDG_DATA_HOME/gem/ruby/3.0.0"
+
# script locations
-export PATH="$HOME/.local/share/bin:$PATH"
-export PATH="$HOME/.local/bin:$PATH"
-export PATH="$HOME/.local/go/bin:$PATH"
-export PATH="$HOME/.local/share/cargo/bin:$PATH"
-# export PATH="/opt/f4pga/xc7/conda/bin:$PATH"
-export PATH="$HOME/.lyp/bin:$PATH"
+if [ -z "$PATH_EXTENDED" ] ; then
+ PATH="$GEM_HOME/bin:$PATH"
+ # PATH="$HOME/.lyp/bin:$PATH"
+ # PATH="/opt/f4pga/xc7/conda/bin:$PATH"
+ PATH="$HOME/.local/share/cargo/bin:$PATH"
+ PATH="$HOME/.local/go/bin:$PATH"
+ PATH="$HOME/.local/bin:$PATH"
+ PATH="$HOME/.local/share/bin:$PATH"
+ export PATH
+ export PATH_EXTENDED=y
+fi
# other stuff
export EDITOR="nvim"