feat: more goodies

main
James Spencer 2023-10-01 21:18:29 +01:00
parent cf63897ca7
commit e12eaab15a
Signed by: james
SSH Key Fingerprint: SHA256:7tOVvkg3eVqn4GbEInHoSkEG96Cvqgvwx+VHUD9begc
3 changed files with 29 additions and 1 deletions

View File

@ -10,4 +10,5 @@ iterm2
licecap licecap
obsidian obsidian
raycast raycast
webex slack
font-fira-code

View File

@ -26,6 +26,7 @@ echo "Finished setting up zsh as default shell"
echo "Installing Homebrew casks..." echo "Installing Homebrew casks..."
echo echo
brew tap caskroom/fonts
brew tap homebrew/cask-versions brew tap homebrew/cask-versions
cat Caskfile | xargs brew install --cask cat Caskfile | xargs brew install --cask
echo echo

View File

@ -2,6 +2,10 @@
echo "Setting macOS defaults..." echo "Setting macOS defaults..."
echo echo
# Close any open System Preferences panes, to prevent them from overriding
# settings were about to change
osascript -e 'tell application "System Preferences" to quit'
# Always open everything in Finder's list view # Always open everything in Finder's list view
defaults write com.apple.Finder FXPreferredViewStyle Nlsv defaults write com.apple.Finder FXPreferredViewStyle Nlsv
@ -29,5 +33,27 @@ defaults write com.apple.screencapture location -string "${HOME}/Documents/Scree
# Dont display the annoying prompt when quitting iTerm # Dont display the annoying prompt when quitting iTerm
defaults write com.googlecode.iterm2 PromptOnQuit -bool false defaults write com.googlecode.iterm2 PromptOnQuit -bool false
# Save to disk (not to iCloud) by default
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false
# Finder: show all filename extensions
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
# Remove the auto-hiding Dock delay
defaults write com.apple.dock autohide-delay -float 0
# Disable the “Are you sure you want to open this application?” dialog
defaults write com.apple.LaunchServices LSQuarantine -bool false
# Minimize windows into their applications icon
defaults write com.apple.dock minimize-to-application -bool true
# Disable smart quotes and smart dashes
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false
defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false
# Disable auto-correct
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
echo "Finished setting macOS defaults." echo "Finished setting macOS defaults."
echo echo