diff options
author | EuAndreh <eu@euandre.org> | 2022-08-24 19:30:23 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-08-24 19:30:23 -0300 |
commit | 2306da1337af68689678f7a0858f68e9b2a83b8e (patch) | |
tree | 41942c182f65bad5987cf2847865b3b5c44c1789 | |
parent | bin/check: Call out command-specific tests (diff) | |
download | dotfiles-2306da1337af68689678f7a0858f68e9b2a83b8e.tar.gz dotfiles-2306da1337af68689678f7a0858f68e9b2a83b8e.tar.xz |
etc/sh/rc: Use -r over -e test when sourcing files
-rw-r--r-- | etc/sh/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |