Fix error: "bash: .: /cygdrive/d/home/.bash_completion.d/..: является директорией"
--- 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