aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc9
-rw-r--r--.local/etc/gittab/basedirs1
-rw-r--r--.local/etc/gittab/tabs/bash1
3 files changed, 10 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index e6dd4cd..c5fbadd 100644
--- a/.bashrc
+++ b/.bashrc
@@ -24,8 +24,15 @@ bind -m vi-insert "\C-u":kill-region
bind -m vi-insert "\C-y":yank
# Configure Bash options
-[ $DEBUG_DOTFILES ] && echo " Setting autocompletions"
+[ $DEBUG_DOTFILES ] && echo " Setting Bash options"
shopt -s histappend
+shopt -s progcomp
+
+if [ -r "$HOME/.config/shell/vendor/bash/feature-auto-completion/bash_completion" ]
+then
+ [ $DEBUG_DOTFILES ] && echo " Setting up autocompletion"
+ . "$HOME/.config/shell/vendor/bash/feature-auto-completion/bash_completion"
+fi
# Set up the prompt
[ $DEBUG_DOTFILES ] && echo " Setting PS1"
diff --git a/.local/etc/gittab/basedirs b/.local/etc/gittab/basedirs
index 4c1827e..ca3b53d 100644
--- a/.local/etc/gittab/basedirs
+++ b/.local/etc/gittab/basedirs
@@ -1,4 +1,5 @@
awesome .config/awesome
+bash .config/shell/vendor/bash
vim .vim/bundle
weechat .weechat/vendor
zsh .config/shell/vendor/zsh
diff --git a/.local/etc/gittab/tabs/bash b/.local/etc/gittab/tabs/bash
new file mode 100644
index 0000000..0940d13
--- /dev/null
+++ b/.local/etc/gittab/tabs/bash
@@ -0,0 +1 @@
+feature-auto-completion https://github.com/scop/bash-completion.git master