From 4769085847cfb7b3ab762310120cebf41cbee7ce Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 9 Aug 2019 14:51:18 +0300 Subject: [PATCH] .shellrc: Fix the list of remotes --- .shellrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.shellrc b/.shellrc index 2162d3b..205f870 100644 --- a/.shellrc +++ b/.shellrc @@ -295,7 +295,7 @@ if test -x /usr/bin/git >/dev/null 2>&1; then _list_remotes_completion() { local cur="${COMP_WORDS[COMP_CWORD]}"; _list_remotes "$1" - COMPREPLY=(`compgen -W "$GIT_REMOTES" -- "$cur"`) + COMPREPLY=(`compgen -W "${GIT_REMOTES[*]}" -- "$cur"`) unset GIT_REMOTES } -- 2.39.2