mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
feat: auto enable completion for bash
Signed-off-by: Wenxuan Zhang <wenxuangm@gmail.com>
This commit is contained in:
parent
17f8815635
commit
56e3151870
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue