summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 9363dae..1e43e05 100644
--- a/bashrc
+++ b/bashrc
@@ -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"