[Linux] Import PATH to systemd from shell init

This commit is contained in:
Ivan Malison 2016-09-26 12:54:06 -07:00
parent 9b9a3a90df
commit 457e1d0e86
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -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)"
}