aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-07-26 15:05:00 +0200
committerGravatar Tom Willemse2016-07-26 15:05:00 +0200
commitfd6b7eff2b7fdf1b31bab731996513b37a8cc434 (patch)
tree17075f130fa68d6da093a950c4cc5c849a27856a
parent4744766cd0c20f27f442068368c3d8f52168da0e (diff)
downloadnew-dotfiles-fd6b7eff2b7fdf1b31bab731996513b37a8cc434.tar.gz
new-dotfiles-fd6b7eff2b7fdf1b31bab731996513b37a8cc434.zip
Add XDG environment variables
-rw-r--r--zsh/.profile7
1 files changed, 7 insertions, 0 deletions
diff --git a/zsh/.profile b/zsh/.profile
index 62b4c77..a84a45a 100644
--- a/zsh/.profile
+++ b/zsh/.profile
@@ -4,4 +4,11 @@
PATH="${HOME}/usr/bin:${PATH}"
export PATH
+## XDG:
+
+# I keep my XDG files in the normal place, but specifying them in an
+# environment variable makes things a little easier/clearer.
+export XDG_CONFIG_HOME="${HOME}/.config"
+export XDG_DATA_HOME="${HOME}/.local/share"
+
systemctl --user import-environment PATH