fix(macos): install brew in setup script
This commit is contained in:
parent
9d22186aa4
commit
fae671b8a0
@ -1,6 +1,13 @@
|
||||
{{ if eq .chezmoi.os "darwin" -}}
|
||||
#!/bin/zsh
|
||||
|
||||
if ! command -v brew > /dev/null 2>&1
|
||||
then
|
||||
echo "Installing homebrew"
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
fi
|
||||
|
||||
defaults write NSGlobalDomain _HIHideMenuBar -bool TRUE # Auto hide menu bar
|
||||
defaults write NSGlobalDomain NSAutomaticCapitalizationEnabled -bool FALSE
|
||||
defaults write NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled -bool FALSE
|
||||
|
||||
Loading…
Reference in New Issue
Block a user