diff --git a/completions/git-forgit.bash b/completions/git-forgit.bash index 43d0a99..f81acd2 100755 --- a/completions/git-forgit.bash +++ b/completions/git-forgit.bash @@ -6,9 +6,6 @@ # # /usr/share/bash-completion/completions # ~/.local/share/bash-completion/completions -# -# When using forgit via the shell plugin, source this file explicitly after -# forgit.plugin.zsh to enable tab completion for shell functions and aliases. _git_branch_delete() { diff --git a/forgit.plugin.zsh b/forgit.plugin.zsh index e1b4866..c307493 100755 --- a/forgit.plugin.zsh +++ b/forgit.plugin.zsh @@ -179,4 +179,6 @@ fi if [[ -n "$ZSH_VERSION" ]]; then source "$INSTALL_DIR/completions/git-forgit.zsh" +elif [[ -n "$BASH_VERSION" ]]; then + source "$INSTALL_DIR/completions/git-forgit.bash" fi