diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-09-06 10:51:53 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-09-06 10:51:53 +0300 |
commit | 5371affabde3309f3a5fed161f2376c0e3282315 (patch) | |
tree | a2609047e415856fc58c345ba2e69f25d86c408f /bashrc | |
parent | e60f262317d6789ca59fde62448ef527215a4391 (diff) | |
download | liw-dot-files-5371affabde3309f3a5fed161f2376c0e3282315.tar.gz |
bashrc: env from systemd
Sponsored-by: author
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -173,6 +173,9 @@ export ANSIBLE_STDOUT_CALLBACK=yaml export PYTHONDONTWRITEBYTECODE=1 export STARSHIP_CONFIG=~/.config/starship/config.toml +# Get environment variables from systemd, if any are set. +. <(systemctl --user show-environment) + if [ -e "$HOME/tmp/cargo" ]; then export CARGO_TARGET_DIR="$HOME/tmp/cargo" elif [ -e "$HOME/cargo" ]; then |