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 <