diff --git a/rtenets b/rtenets index 2d79996..3269641 100755 --- a/rtenets +++ b/rtenets @@ -152,15 +152,15 @@ set_git_config() { while ! [[ -n "${value}" ]]; do value="$(enter "new value for ${param}: ")" done - \git config --global "${param}" "${value}" - info "setting new value for ${param}: '$(git config "${param}")'" + \git config "${param}" "${value}" + info "setting new value for ${param}: '$(\git config "${param}")'" printf "${value}" } # Get value of git config parameter, set if unset get_git_config() { local param="$1" - local value="$(git config "${param}")" + local value="$(\git config "${param}")" if ! [[ -n "${value}" ]]; then warning "git ${param} is unset" value="$(set_git_config "${param}")"