diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index 1f35970..0c6ae2a 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -1,9 +1,9 @@ [credential "https://github.com"] helper = - helper = !~/.webman/bin/gh auth git-credential + helper = !gh auth git-credential [credential "https://gist.github.com"] helper = - helper = !~/.webman/bin/gh auth git-credential + helper = !gh auth git-credential [user] email = {{ .email | quote }} diff --git a/run_once_before_install.sh.tmpl b/run_once_before_install.sh.tmpl index 2ba2175..dc52598 100644 --- a/run_once_before_install.sh.tmpl +++ b/run_once_before_install.sh.tmpl @@ -31,6 +31,8 @@ echo "macOS detected" if test -x /usr/local/bin/brew; then echo "Homebrew already installed" +elif test -x /opt/homebrew/bin/brew; then + echo "Homebrew already installed" else echo "\n[-] Installing Homebrew [-]" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"