]> git.pld-linux.org Git - packages/bash.git/blobdiff - bashrc
- Finally (hope) fixed shrc.d/*.sh sourcing
[packages/bash.git] / bashrc
diff --git a/bashrc b/bashrc
index 4357636b251ab0a130dbcd0003cde549f34c9d19..e3a01e68eb0235f6d9c63402f4b70650f136977d 100644 (file)
--- a/bashrc
+++ b/bashrc
@@ -10,8 +10,8 @@ PS1="[\u@\h \W]\\$ "
 
 alias which="type -p"
 
-for i in /etc/shrc.d/*.sh ; do
-       if [ -x $i ]; then
-               . $i
-       fi
+# SYSTEM WIDE ALIASES ETC.
+for i in `find /etc/shrc.d -name '*.sh'` ; do
+       . $i
 done
+unset i
This page took 0.035339 seconds and 4 git commands to generate.