author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 28 Sep 2011 18:21:39 +0300 | |
changeset 220 | 987a83ddd689 |
parent 216 | 27e5bda72c38 |
permissions | -rwxr-xr-x |
216 | 1 |
|
220
987a83ddd689
Fix issue with empty/non-exist directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
216
diff
changeset
|
2 |
if [[ -s ~/.bash_completion.d ]]; then |
987a83ddd689
Fix issue with empty/non-exist directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
216
diff
changeset
|
3 |
for f in ~/.bash_completion.d/* ~/.bash_completion.d/.*; do |
987a83ddd689
Fix issue with empty/non-exist directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
216
diff
changeset
|
4 |
. $f |
987a83ddd689
Fix issue with empty/non-exist directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
216
diff
changeset
|
5 |
done |
987a83ddd689
Fix issue with empty/non-exist directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
216
diff
changeset
|
6 |
fi |
216 | 7 |
|
8 |
# Local variables: |
|
9 |
# mode: shell-script |
|
10 |
# End: |