aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/sh/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index afd7391..a08da74 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -19,7 +19,7 @@ mkdir -p \
"$XDG_LOG_HOME/euandreh"
GUIX_PROFILE="$XDG_CONFIG_HOME"/guix/current
-if [ -e "$GUIX_PROFILE"/etc/profile ]; then
+if [ -r "$GUIX_PROFILE"/etc/profile ]; then
. "$GUIX_PROFILE"/etc/profile
fi
@@ -261,7 +261,7 @@ case $- in
esac
F="$XDG_CONFIG_HOME"/sh/privrc.sh
-if [ -e "$F" ]; then
+if [ -r "$F" ]; then
# Extra rc code to be loaded, stored in private repository
. "$F"
fi