[Linux] Import more environment variables for systemd

This commit is contained in:
Ivan Malison 2016-11-24 14:32:12 -08:00
parent 3ff3ef0709
commit 7e8bf13a74
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -21,7 +21,7 @@ function _setup_env {
_tex_setup
# This makes systemd aware of change to $PATH
run_if_exists systemctl --user import-environment PATH
run_if_exists systemctl --user import-environment PATH DISPLAY XAUTHORITY HOME
export ENVIRONMENT_SETUP_DONE="$(date)"
}