diff options
author | zachir <zachir@librem.one> | 2024-03-23 18:11:04 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2024-03-23 18:11:04 -0500 |
commit | 4e2a91509a3b7d03c2fdc2530360506e427c809b (patch) | |
tree | 6aa2104ae8bcba8260922eac10b618a96254c779 /sh/profile | |
parent | 49dc6f18e5db109c7d28ba9f12c0dea1d78f94a4 (diff) |
Fix sh not loading xdg user dirs
Diffstat (limited to 'sh/profile')
-rw-r--r-- | sh/profile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |