Commits

Ches Martin committed 1be366d

bash: Guard sourcing .local with a directory presence check

  • Participants
  • Parent commits 9cf1599

Comments (0)

Files changed (1)

 fi
 
 # Machine-specific stuff, creds kept out of SCM, etc.
-for f in ~/.local/*.sh; do
-    . "$f"
-done
+if [ -d ~/.local ]; then
+    for f in ~/.local/*.sh; do
+        . "$f"
+    done
+fi