aboutsummaryrefslogtreecommitdiff
path: root/etc/bash
diff options
context:
space:
mode:
Diffstat (limited to 'etc/bash')
-rw-r--r--etc/bash/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/bash/rc b/etc/bash/rc
index 3990ebe..1cfd404 100644
--- a/etc/bash/rc
+++ b/etc/bash/rc
@@ -20,7 +20,7 @@ mkdir -p \
"$XDG_LOG_HOME"
GUIX_PROFILE="$XDG_CONFIG_HOME"/guix/current
-if [ -r "$GUIX_PROFILE"/etc/profile ]; then
+if [ -e "$GUIX_PROFILE"/etc/profile ]; then
. "$GUIX_PROFILE"/etc/profile
fi
@@ -325,7 +325,7 @@ chmod 600 "$XDG_CONFIG_HOME"/ssh/id_rsa.pub
stty -ixon # Disable C-s/C-q mode
-if [ -r "$XDG_CONFIG_HOME"/bash/privrc.sh ]; then
+if [ -e "$XDG_CONFIG_HOME"/bash/privrc.sh ]; then
# Extra rc code to be loaded, stored in private repository
. "$XDG_CONFIG_HOME"/bash/privrc.sh
fi