.bash_completion
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 28 Sep 2011 18:21:39 +0300
changeset 220 987a83ddd689
parent 216 27e5bda72c38
permissions -rwxr-xr-x
Fix issue with empty/non-exist directory.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
216
27e5bda72c38 Load local completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     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
27e5bda72c38 Load local completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
27e5bda72c38 Load local completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
# Local variables:
27e5bda72c38 Load local completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
# mode: shell-script
27e5bda72c38 Load local completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
# End: