Import PATH variable into systemd modules

This commit is contained in:
2021-01-10 12:14:14 +01:00
parent 5502f976d9
commit 01f2e86ab0

View File

@@ -405,5 +405,6 @@ esac
# Remove duplicates from PATH.
export PATH="$(awk -v RS=: -v ORS=: '!arr[$0]++' <<<"$PATH" | head -1)"
systemctl --user import-environment PATH 2>/dev/null || true
# vim: ft=sh