[Linux] Import PATH to systemd from shell init
This commit is contained in:
parent
9b9a3a90df
commit
457e1d0e86
@ -19,6 +19,8 @@ function _setup_env {
|
|||||||
_rust_setup
|
_rust_setup
|
||||||
_tex_setup
|
_tex_setup
|
||||||
|
|
||||||
|
# This makes systemd aware of change to $PATH
|
||||||
|
run_if_exists systemctl --user import-environment PATH
|
||||||
export ENVIRONMENT_SETUP_DONE="$(date)"
|
export ENVIRONMENT_SETUP_DONE="$(date)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user