X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.shellrc;h=7fd9393c9fa45cc25344a873349bedf0207cfb25;hp=14eb24d659bba34825a1f8f620b2096bec51ced8;hb=7597ba385417b725206e3f83f44d645e87e945d0;hpb=3f75c1df72d8920fde8b4012af8201268985c33a 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() {