summaryrefslogtreecommitdiff
path: root/sh/profile
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-06-04 22:13:12 -0500
committerzachir <zachir@librem.one>2024-06-04 22:28:28 -0500
commit17a1b35c31aa0035f5570312a469d080ff00aefe (patch)
tree7320835605b09da6dfb0b264dfd3380f2a18df4b /sh/profile
parent747db16125d155f524305b7a226e5a0716d024c8 (diff)
Remove nix from profile; add zvm
Removing nix, as using the package manager was an experiment I didn't super get along with. Adding in the Zig Version Manager to manage Zig installations.
Diffstat (limited to 'sh/profile')
-rw-r--r--sh/profile10
1 files changed, 5 insertions, 5 deletions
diff --git a/sh/profile b/sh/profile
index c03fc93..c37bc48 100644
--- a/sh/profile
+++ b/sh/profile
@@ -1,8 +1,4 @@
-# Import ENV from system
-. /etc/profile
-[ -f /etc/profile.d/nix-daemon.sh ] && . /etc/profile.d/nix-daemon.sh
-
-# Other XDG vars
+# XDG paths
export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"}
export XDG_CACHE_HOME=${XDG_CACHE_HOME:="$HOME/.cache"}
export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:="$HOME/.config"}
@@ -74,6 +70,10 @@ export IMAGE="sxiv"
export OPENER="xdg-open"
export PAGER="less"
+# ZVM
+export ZVM_INSTALL="$HOME/.zvm/self"
+export ZVMPATH="$HOME/.zvm/bin"
+
# Modern SDK
export N64_LIBGCCDIR="/opt/crashsdk/lib/gcc/mips64-elf/12.2.0"
export ROOT=/etc/n64