.bashrc
changeset 290 e19be6298b09
parent 284 3351fda649d5
child 294 91a01838d930
--- a/.bashrc	Mon Jan 02 20:25:43 2012 +0200
+++ b/.bashrc	Tue Jan 10 11:39:42 2012 +0200
@@ -146,7 +146,7 @@
 fi
 if [[ -d ~/.bash_completion.d ]]; then
   for f in ~/.bash_completion.d/* ~/.bash_completion.d/.*; do
-    . $f
+    [[ -f "$f" ]] && . "$f"
   done
 fi