From ccec7c5ee42c8cef48bbd668de32825e25b42f64 Mon Sep 17 00:00:00 2001 From: zachir Date: Sun, 12 Mar 2023 23:42:45 -0500 Subject: move user-dirs import higher in zshenv; add comment for PATH --- zsh/.zshenv | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'zsh') diff --git a/zsh/.zshenv b/zsh/.zshenv index b8ee20d..2fe0467 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -5,6 +5,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" + # Doesn't seem to work export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android export ANDROID_AVD_HOME="$XDG_DATA_HOME"/android/ @@ -77,6 +79,7 @@ export SRCDIR="$HOME/.local/src" # KSH export ENV="$XDG_CONFIG_HOME/mksh/mkshrc" +# PATH export PATH="$HOME/.local/bin/testing" export PATH="$PATH:$HOME/.local/bin/shortcmds" export PATH="$PATH:$HOME/.local/bin/generics" @@ -98,6 +101,4 @@ export PATH="$PATH:/usr/sbin" export PATH="$PATH:/bin" export PATH="$PATH:/sbin" -[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs" - [ -f /etc/profile.d/nix-daemon.sh ] && . /etc/profile.d/nix-daemon.sh -- cgit v1.2.3