diff options
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bash_completion | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bash/bash_completion b/bash/bash_completion new file mode 100644 index 0000000..9fd9617 --- /dev/null +++ b/bash/bash_completion @@ -0,0 +1,7 @@ +COMPLETION_DIR=~/.bash_completion.d/ + +if [[ -d $COMPLETION_DIR && -r $COMPLETION_DIR && -x $COMPLETION_DIR ]]; then + for i in $(LC_ALL=C command ls "$COMPLETION_DIR"); do + . "$COMPLETION_DIR/$i" + done +fi |