diff options
Diffstat (limited to 'sh/shrc')
-rw-r--r-- | sh/shrc | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -6,8 +6,7 @@ esac # Load all the POSIX-compatible functions from ~/.shrc.d; more advanced shells # like bash will have their own functions -for shrc in "$HOME"/.shrc.d/*.sh ; do - [ -e "$shrc" ] || continue - . "$shrc" +for sh in "$HOME"/.shrc.d/*.sh ; do + [ -e "$sh" ] && . "$sh" done -unset -v shrc +unset -v sh |