From b7cd5666fe465429055a23c52273a52e41f9456d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 6 Sep 2023 10:53:03 +0300 Subject: bashrc: export systemd env vars Sponsored-by: author --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bashrc') diff --git a/bashrc b/bashrc index 073079f..55a4976 100644 --- a/bashrc +++ b/bashrc @@ -174,7 +174,7 @@ export PYTHONDONTWRITEBYTECODE=1 export STARSHIP_CONFIG=~/.config/starship/config.toml # Get environment variables from systemd, if any are set. -. <(systemctl --user show-environment) +. <(systemctl --user show-environment | sed 's/^/export /') if [ -e "$HOME/tmp/cargo" ]; then export CARGO_TARGET_DIR="$HOME/tmp/cargo" -- cgit v1.2.1