From 42a2a9f3d486d7f47e9b8fe64599b3cc8167f0df Mon Sep 17 00:00:00 2001 From: William Melody Date: Sun, 7 Jun 2020 15:42:11 -0700 Subject: [PATCH] Use `__` prefix for variables in loops. --- hosts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/hosts b/hosts index 032d767..e918835 100755 --- a/hosts +++ b/hosts @@ -863,16 +863,16 @@ completions() { _exit_1 printf "Source Git repository not configured.\\n" fi - for _shell in bash zsh + for __shell in bash zsh do - local _completion_source="${_my_dir}/etc/${_ME}-completion.${_shell}" + local _completion_source="${_my_dir}/etc/${_ME}-completion.${__shell}" if ((_download)) then if [[ ! -f "${_completion_source}" ]] then _completion_source="$(mktemp)" - local _completion_url="${_REPO_RAW_URL}/etc/${_ME}-completion.${_shell}" + local _completion_url="${_REPO_RAW_URL}/etc/${_ME}-completion.${__shell}" if ! _download_from "${_completion_url}" "${_completion_source}" then @@ -885,22 +885,22 @@ completions() { if [[ ! -f "${_completion_source}" ]] then cat <