diff options
author | dakkar <dakkar@thenautilus.net> | 2021-04-11 17:19:14 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2021-04-12 16:29:20 +0100 |
commit | 7e539562f11aa203a13866f871043e8d63d99a23 (patch) | |
tree | f1fd69ff0bc80761c710b7121a3573237506c4c2 /.bash_completion | |
parent | no more hal-automounter, use dmount (diff) | |
download | dotfiles-7e539562f11aa203a13866f871043e8d63d99a23.tar.gz dotfiles-7e539562f11aa203a13866f871043e8d63d99a23.tar.bz2 dotfiles-7e539562f11aa203a13866f871043e8d63d99a23.zip |
make my bashcomp actually work
Diffstat (limited to '.bash_completion')
-rw-r--r-- | .bash_completion | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/.bash_completion b/.bash_completion index 4eb8044..0dd54ff 100644 --- a/.bash_completion +++ b/.bash_completion @@ -1,2 +1,9 @@ -_xfunc perl _perldoc -complete -F _perldoc -o bashdefault pm pd +# -*- mode: sh -*- + +bcdir="$HOME/.bash_completion.d" +if [[ -d "$bcdir" && -r "$bcdir" && -x "$bcdir" ]]; then + for i in "$bcdir"/*.bashcomp; do + [[ -f $i && -r $i ]] && . "$i" + done +fi + |