X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.shellrc;h=035f756e4c4ce6302c7f41a484e4136af50cefe6;hb=9ebc6317b5f9ebfa489df6a0712489d4c9b393d7;hp=5975ab3a7f4ab27cd2002f40839f4bc7d4d12c77;hpb=20515fecab4ad47200eff26038c6cef8e2cef271;p=dotfiles.git diff --git a/.shellrc b/.shellrc index 5975ab3..035f756 100644 --- a/.shellrc +++ b/.shellrc @@ -176,7 +176,6 @@ if test -n "$BASH_VERSION"; then GIT_REMOTES="$GIT_REMOTES $remote" fi done - remote="" unset remote } @@ -185,7 +184,6 @@ if test -n "$BASH_VERSION"; then local cur="${COMP_WORDS[COMP_CWORD]}"; list_remotes '^\(/\|\.\./\)' # (/ or ../ at the beginning) COMPREPLY=(`compgen -W "$GIT_REMOTES" -- "$cur"`) - GIT_REMOTES="" unset GIT_REMOTES } @@ -196,7 +194,6 @@ if test -n "$BASH_VERSION"; then local cur="${COMP_WORDS[COMP_CWORD]}"; list_remotes '^http\(s\)\?://' COMPREPLY=(`compgen -W "$GIT_REMOTES" -- "$cur"`) - GIT_REMOTES="" unset GIT_REMOTES }