mirror of https://github.com/deuill/dotfiles.git
Correctly import final PATH env in systemd
This commit is contained in:
parent
19d05aec22
commit
8c23252f4d
6
.profile
6
.profile
|
@ -1,9 +1,9 @@
|
|||
# Import specific environment variables for user units.
|
||||
systemctl --user import-environment PATH
|
||||
|
||||
# Set system-wide environment from systemd environment.
|
||||
for conf in "$HOME"/.config/environment.d/*.conf; do set -a; . "$conf"; set +a; done
|
||||
|
||||
# Import specific environment variables for user units.
|
||||
systemctl --user import-environment PATH
|
||||
|
||||
# Start Sway if no existing session has started.
|
||||
if test -z "$DISPLAY" && test "$XDG_VTNR" -eq 1
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue