From 01f2e86ab09daa9bfa672047444625bae052b3ca Mon Sep 17 00:00:00 2001 From: Artem Sheremet Date: Sun, 10 Jan 2021 12:14:14 +0100 Subject: [PATCH] Import PATH variable into systemd modules --- .bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.bashrc b/.bashrc index 9024672..2e73064 100644 --- a/.bashrc +++ b/.bashrc @@ -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