From: Oleg Broytman Date: Wed, 13 Dec 2017 19:47:13 +0000 (+0300) Subject: .shellrc: Fix _cdgitpath_completion_loader name X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=7597ba385417b725206e3f83f44d645e87e945d0;p=dotfiles.git .shellrc: Fix _cdgitpath_completion_loader name --- diff --git a/.shellrc b/.shellrc index 14eb24d..7fd9393 100644 --- a/.shellrc +++ b/.shellrc @@ -230,10 +230,10 @@ if test -x /usr/bin/git >/dev/null 2>&1; then # push-to-all-remotes - do branch name completion _git_push_to_all_remotes() { __gitcomp_nl "$(__git_heads)" ; } - _cdgitpath_complete_loader() { + _cdgitpath_completion_loader() { _completion_loader git complete -F _cdgitpath_complete cdgitpath git-open - unset _cdgitpath_complete_loader + unset _cdgitpath_completion_loader return 124 } @@ -246,7 +246,7 @@ if test -x /usr/bin/git >/dev/null 2>&1; then _cdgitpath_complete } - complete -F _cdgitpath_complete_loader cdgitpath git-open + complete -F _cdgitpath_completion_loader cdgitpath git-open # list remotes with URLs matching a regexp _list_remotes() {