Skip to content

Commit

Permalink
Merge pull request #307 from telzhov/master
Browse files Browse the repository at this point in the history
Replaced calls to '_git' wrapper with its contents, '__git_wrap__git_…
  • Loading branch information
ghthor authored Jan 5, 2021
2 parents 4f1e421 + ad6bfdd commit 0a687dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/git/aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ let COMP_CWORD+=1
local cur words cword prev
_get_comp_words_by_ref -n =: cur words cword prev
_git
__git_wrap__git_main
}
"
}
Expand Down Expand Up @@ -184,7 +184,7 @@ if [ $shell = "bash" ]; then
[[ -s "/usr/share/git/completion/git-completion.bash" ]] && source "/usr/share/git/completion/git-completion.bash"
# new path in Ubuntu 13.04
[[ -s "/usr/share/bash-completion/completions/git" ]] && source "/usr/share/bash-completion/completions/git"
complete -o default -o nospace -F _git $git_alias
complete -o default -o nospace -F __git_wrap__git_main $git_alias

# Git repo management & aliases.
# If you know how to rewrite _git_index_tab_completion() for zsh, please send me a pull request!
Expand Down

0 comments on commit 0a687dc

Please sign in to comment.