diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-10-06 17:13:13 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-10-06 17:13:13 +0300 |
commit | c0247f55bf9153ae9237515d4e2a431b0e9107c0 (patch) | |
tree | 45992487b6c7a7ea5c0f5e016a4964b17238464e | |
parent | 7d97ebbf96bcdbfd2e195fc9aadbc465b859579f (diff) | |
download | liw-dot-files-c0247f55bf9153ae9237515d4e2a431b0e9107c0.tar.gz |
bashrc: don't import env from systemctl, if it won't work
Sponsored-by: author
-rw-r--r-- | bashrc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -157,7 +157,9 @@ umask 002 # Get environment variables from systemd, if any are set. -. <(systemctl --user show-environment | sed 's/^/export /') +if systemctl --user show-environment > /dev/null 2>&1; then + . <(systemctl --user show-environment | sed 's/^/export /') +fi if command -v emacs >/dev/null; then export EDITOR=emacs @@ -209,3 +211,6 @@ if [ -e "$HOME/.cargo/env" ] then . "$HOME/.cargo/env" fi + +# Added by Radicle. +export PATH="$PATH:/home/liw/.radicle/bin" |