diff options
-rw-r--r-- | bash/bash_completion | 7 | ||||
-rw-r--r-- | install.conf.yaml | 2 |
2 files changed, 9 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 diff --git a/install.conf.yaml b/install.conf.yaml index 869b6da..346e034 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -1,4 +1,5 @@ - create: + - ~/.bash_completion.d - ~/.cache/vim/bkp - ~/.cache/vim/swap - ~/.config/bash @@ -17,6 +18,7 @@ ~/.local/bin/ups: bin/ups ~/.config/bash/prompt: bash/prompt ~/.bashrc: bash/bashrc + ~/.bash_completion: bash/bash_completion ~/.gdbinit: dotfiles/gdbinit ~/.gitconfig: dotfiles/gitconfig ~/.local/var/cron/daily/dotfiles_status: cron/dotfiles_status |