summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/profile3
-rw-r--r--zsh/.zshenv1
2 files changed, 3 insertions, 1 deletions
diff --git a/sh/profile b/sh/profile
index b226b4c..e0b20de 100644
--- a/sh/profile
+++ b/sh/profile
@@ -6,7 +6,8 @@
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"}
-[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs"
+. "$HOME/.config/user-dirs.dirs"
+export XDG_DATA_DIRS="${XDG_DATA_DIRS}:$HOME/.nix-profile/share"
# Doesn't seem to work
export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android
diff --git a/zsh/.zshenv b/zsh/.zshenv
index 286e11a..1740c82 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -1,3 +1,4 @@
# ZSH SPECIFIC CONFIGS
unset HISTFILE
+[ -f "$HOME/.profile" ] && . "$HOME/.profile"
export ZDOTDIR=$HOME/.config/zsh