aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sh/.profile
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-03-25 12:11:24 -0500
committerToby Vincent <tobyv13@gmail.com>2023-03-25 12:11:24 -0500
commit6e0bef564d6334b07e0317acd85695dd0fa461f5 (patch)
tree5c6485b151c0e33d80c6be7a475223658596dfe0 /sh/.profile
parent524fd1de85e7b99287d5fef26ac71d9ee23d1859 (diff)
fix: improve xdg user dirs and disable update
Diffstat (limited to 'sh/.profile')
-rw-r--r--sh/.profile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sh/.profile b/sh/.profile
index 819d832..3b7e561 100644
--- a/sh/.profile
+++ b/sh/.profile
@@ -15,7 +15,12 @@ export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR:-/run/user/$(id -u "$USER")}"
-export MAIL="/var/mail/$USER"
+export XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
+export XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS:-/etc/xdg}"
+
+if [ -e "$HOME/.config/user-dirs.dirs" ]; then
+ export $(xargs <"$HOME/.config/user-dirs.dirs")
+fi
export PATH="$PATH:$HOME/.local/bin"