]> git.pld-linux.org Git - packages/bash.git/blobdiff - bashrc
- Check if file is readable (pointed by blues)
[packages/bash.git] / bashrc
diff --git a/bashrc b/bashrc
index 786300f136f47c65abd499846e8bd043afe8bc55..3c5eeb10676ea92ab5cb107c0144dfd836315e6c 100644 (file)
--- a/bashrc
+++ b/bashrc
@@ -11,6 +11,6 @@ PS1="[\u@\h \W]\\$ "
 alias which="type -p"
 
 for i in /etc/shrc.d/*.sh ; do
-       . $i
+       [ -r $i ] && . $i
 done
 unset i
This page took 0.03292 seconds and 4 git commands to generate.