From 457e1d0e867b88c554015f8aa5a6f073176fb420 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 26 Sep 2016 12:54:06 -0700 Subject: [PATCH] [Linux] Import PATH to systemd from shell init --- dotfiles/lib/shellpath.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotfiles/lib/shellpath.sh b/dotfiles/lib/shellpath.sh index 3b89f27e..28ebfdcd 100644 --- a/dotfiles/lib/shellpath.sh +++ b/dotfiles/lib/shellpath.sh @@ -19,6 +19,8 @@ function _setup_env { _rust_setup _tex_setup + # This makes systemd aware of change to $PATH + run_if_exists systemctl --user import-environment PATH export ENVIRONMENT_SETUP_DONE="$(date)" }