summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-02-12 12:01:00 -0600
committerToby Vincent <tobyv13@gmail.com>2023-02-12 12:01:00 -0600
commit292fd91956ad7fc76618fdc0b92e9313797f597b (patch)
tree6acc78e36a3c0e1d39d9bd93f797cb4607062eb2
parent17fa2c0a74f0129c622f38879dac9f7d2e3a4aa0 (diff)
fix: fix systemd env generator overwriting PATH
-rw-r--r--sh/.config/profile.d/10-systemd.sh4
-rw-r--r--sh/.profile3
2 files changed, 3 insertions, 4 deletions
diff --git a/sh/.config/profile.d/10-systemd.sh b/sh/.config/profile.d/10-systemd.sh
deleted file mode 100644
index 67d5d47..0000000
--- a/sh/.config/profile.d/10-systemd.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-# shellcheck disable=2046
-
-export $(run-parts /usr/lib/systemd/user-environment-generators | xargs)
diff --git a/sh/.profile b/sh/.profile
index 60bc1f5..ce443ce 100644
--- a/sh/.profile
+++ b/sh/.profile
@@ -1,4 +1,7 @@
#!/bin/sh
+# shellcheck disable=2046
+
+export $(run-parts /usr/lib/systemd/user-environment-generators | xargs)
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"