summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2025-06-29 23:19:57 -0500
committerZachIR <zachir@librem.one>2025-06-29 23:19:57 -0500
commit5412cb6d6b3a958429a9bf781a95ee81fd29d0b4 (patch)
treeeefcd6ebb78b479564faf30629a5bfb38fb9e4a8
parente3ed7659893c248756acc79750ee5e5ef94e0c08 (diff)
Make more things XDG compliant
Specifically .dotnet, .zplug, and .zcompdump
-rw-r--r--sh/profile2
-rw-r--r--zsh/zshrc2
2 files changed, 3 insertions, 1 deletions
diff --git a/sh/profile b/sh/profile
index a97e9e8..4337cc0 100644
--- a/sh/profile
+++ b/sh/profile
@@ -22,6 +22,8 @@ export ADB_VENDOR_KEY="$XDG_CONFIG_HOME"/android
export LESSHISTFILE=-
# Fixing Paths
+export ZPLUG_HOME="$XDG_DATA_HOME/zplug"
+export DOTNET_CLI_HOME="$XDG_DATA_HOME"/dotnet
export MBSYNCRC="$XDG_CONFIG_HOME"/isync/mbsyncrc
export ATOM_HOME="$XDG_DATA_HOME"/atom
export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc
diff --git a/zsh/zshrc b/zsh/zshrc
index f748913..532fb15 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -80,6 +80,6 @@ if [ -n "$ZPLUG_INSTALLED" ]; then
fi
autoload -Uz compinit
-compinit
+compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"
#zprof