make some fixes for macos

This commit is contained in:
2024-04-04 17:56:43 -06:00
parent f1892c5fb8
commit a8e283cbec
2 changed files with 4 additions and 2 deletions

View File

@@ -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 }}

View File

@@ -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)"