aboutsummaryrefslogtreecommitdiff
path: root/Shell
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2022-09-14 00:06:10 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2022-09-14 00:45:42 +0100
commitfbbe68f31996e60b40c5c15437bd4b4a7b231309 (patch)
tree3bac2599fba59db4c7c8d7ff554a72ed517c002e /Shell
parentad853af43b2cc3768419d493b7d041c48566110b (diff)
downloaddotfiles-fbbe68f31996e60b40c5c15437bd4b4a7b231309.tar.gz
dotfiles-fbbe68f31996e60b40c5c15437bd4b4a7b231309.tar.bz2
dotfiles-fbbe68f31996e60b40c5c15437bd4b4a7b231309.zip
(Shell)+systemd call to import user PATH to modules, debuginfo call
SystemD now knows my path on user login, which is a great help as Emacs has always been kinda weird in server mode (which I've only just figured out to be a problem of SystemD rather than Emacs). debuginfod's profile script for some reason doesn't work for zsh, which means the ~DEBUGINFOD_URL~ variable isn't set. So set it up here.
Diffstat (limited to 'Shell')
-rw-r--r--Shell/.zprofile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Shell/.zprofile b/Shell/.zprofile
index a522d41..76f69cf 100644
--- a/Shell/.zprofile
+++ b/Shell/.zprofile
@@ -19,6 +19,12 @@ export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_RUNTIME_DIR=/run/user/`id -u`
+# Import path to systemd
+systemctl --user import-environment PATH
+
+# Setup debuginfod
+sh /etc/profile.d/debuginfod.sh
+
# Run some programs
/usr/bin/pfetch
misfortune