]> git.phdru.name Git - dotfiles.git/commitdiff
.shellrc: Fix _cdgitpath_completion_loader name
authorOleg Broytman <phd@phdru.name>
Wed, 13 Dec 2017 19:47:13 +0000 (22:47 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 13 Dec 2017 19:47:13 +0000 (22:47 +0300)
.shellrc

index 14eb24d659bba34825a1f8f620b2096bec51ced8..7fd9393c9fa45cc25344a873349bedf0207cfb25 100644 (file)
--- 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() {