]> git.phdru.name Git - dotfiles.git/commitdiff
.shellrc: Remove unused variable
authorOleg Broytman <phd@phdru.name>
Thu, 26 Sep 2019 06:23:15 +0000 (09:23 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 26 Sep 2019 06:23:15 +0000 (09:23 +0300)
.shellrc

index 8e0f9292a8a68963a4e3eb836c44c77e0458cefb..293410bdb8a37c19a383c5bfedde77b0a4a5c625 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -259,7 +259,7 @@ if test -x /usr/bin/git >/dev/null 2>&1; then
       _git_push_to_all_remotes() { __gitcomp_nl "$(__git_heads)" ; }
 
       _cdgitpath_complete() {
-         local cword="${COMP_CWORD}" cur="${COMP_WORDS[COMP_CWORD]}";
+         local cur="${COMP_WORDS[COMP_CWORD]}";
          COMPREPLY=(`compgen -W "$(__git_config_get_set_variables)" -- "$cur"`)
       }