Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Init Mac file
#/bin/sh
#
# Reasonably sets OS X defaults. My sources:
# - https://ss64.com/osx/syntax-defaults.html
# - https://github.com/nicksp/dotfiles/blob/master/osx/set-defaults.sh
# - https://github.com/mathiasbynens/dotfiles/blob/master/.macos
#
# Set computer name
COMPUTERNAME="Chamo's MBP"
HOSTNAME='mbp'
LOCALHOSTNAME='mbp'
# Close any open System Preferences panes, to prevent them from overriding
# settings we’re about to change
osascript -e 'tell application "System Preferences" to quit'
# Ask for the administrator password upfront
sudo -v
# Keep-alive: update existing `sudo` time stamp until `.osx` has finished
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
###############################################################################
# General UI/UX #
###############################################################################
## Set computer name (as done via System Preferences → Sharing)
sudo scutil --set ComputerName $COMPUTERNAME
sudo scutil --set HostName $HOSTNAME
sudo scutil --set LocalHostName $LOCALHOSTNAME
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string $LOCALHOSTNAME
## Disable the sound effects on boot
sudo nvram SystemAudioVolume=" "
###############################################################################
# Safari
###############################################################################
## Set up Safari for development.
defaults write com.apple.Safari IncludeInternalDebugMenu -bool true
defaults write com.apple.Safari IncludeDevelopMenu -bool true
defaults write com.apple.Safari WebKitDeveloperExtrasEnabledPreferenceKey -bool true
defaults write com.apple.Safari "com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled" -bool true
defaults write -g WebKitDeveloperExtras -bool true
## Privacy: don’t send search queries to Apple
defaults write com.apple.Safari UniversalSearchEnabled -bool false
defaults write com.apple.Safari SuppressSearchSuggestions -bool true
## Show the full URL in the address bar (note: this still hides the scheme)
defaults write com.apple.Safari ShowFullURLInSmartSearchField -bool true
## Set Safari’s home page to `about:blank` for faster loading
defaults write com.apple.Safari HomePage -string "about:blank"
## Prevent Safari from opening ‘safe’ files automatically after downloading
defaults write com.apple.Safari AutoOpenSafeDownloads -bool false
## Allow hitting the Backspace key to go to the previous page in history
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2BackspaceKeyNavigationEnabled -bool true
## Hide Safari’s bookmarks bar by default
defaults write com.apple.Safari ShowFavoritesBar -bool false
## Disable Safari’s thumbnail cache for History and Top Sites
defaults write com.apple.Safari DebugSnapshotsUpdatePolicy -int 2
## Make Safari’s search banners default to Contains instead of Starts With
defaults write com.apple.Safari FindOnPageMatchesWordStartsOnly -bool false
## Remove useless icons from Safari’s bookmarks bar
defaults write com.apple.Safari ProxiesInBookmarksBar "()"
## Enable continuous spellchecking
defaults write com.apple.Safari WebContinuousSpellCheckingEnabled -bool true
## Disable auto-correct
defaults write com.apple.Safari WebAutomaticSpellingCorrectionEnabled -bool false
## Disable AutoFill
defaults write com.apple.Safari AutoFillFromAddressBook -bool false
defaults write com.apple.Safari AutoFillPasswords -bool false
defaults write com.apple.Safari AutoFillCreditCardData -bool false
defaults write com.apple.Safari AutoFillMiscellaneousForms -bool false
## Disable Java
defaults write com.apple.Safari WebKitJavaEnabled -bool false
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2JavaEnabled -bool false
## Block pop-up windows
defaults write com.apple.Safari WebKitJavaScriptCanOpenWindowsAutomatically -bool false
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2JavaScriptCanOpenWindowsAutomatically -bool false
## Enable “Do Not Track”
defaults write com.apple.Safari SendDoNotTrackHTTPHeader -bool true
## Update extensions automatically
defaults write com.apple.Safari InstallExtensionUpdatesAutomatically -bool true
###############################################################################
# Mail
###############################################################################
## Disable inline attachments in Mail.app (just show the icons)
defaults write com.apple.mail DisableInlineAttachmentViewing -bool true
## Add the keyboard shortcut ⌘ + Enter to send an email in Mail.app
defaults write com.apple.mail NSUserKeyEquivalents -dict-add "Send" "@\U21a9"
## Display emails in threaded mode, sorted by date (oldest at the top)
defaults write com.apple.mail DraftsViewerAttributes -dict-add "DisplayInThreadedMode" -string "yes"
defaults write com.apple.mail DraftsViewerAttributes -dict-add "SortedDescending" -string "yes"
defaults write com.apple.mail DraftsViewerAttributes -dict-add "SortOrder" -string "received-date"
###############################################################################
# Finder
###############################################################################
## Shows whole path in the title bar of the file exporser
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
## Set Desktop as the default location for new Finder windows
## For other paths, use `PfLo` and `file:///full/path/here/`
defaults write com.apple.finder NewWindowTarget -string "PfLo"
defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}/"
## Always open everything in Finder's column view. This is important.
defaults write com.apple.Finder FXPreferredViewStyle Nlsv
## Finder: show path bar
defaults write com.apple.finder ShowPathbar -bool true
## Enable Text Selection in Quick Look Windows
defaults write com.apple.finder QLEnableTextSelection -bool true
## Always Show Hidden Files in the Finder
defaults write com.apple.finder AppleShowAllFiles -bool true
## Show all filename extensions
defaults write -g AppleShowAllExtensions -bool true
## Show the Status Bar, this can also be toggled on the View menu:
defaults write com.apple.finder ShowStatusBar -bool true
## When performing a search, search the current folder by default (the default 'This Mac' is "SCev")
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
## Always Show the User Library Folder
chflags nohidden ~/Library/
## Disable the warning when changing a file extension
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
## Show icons for hard drives, servers, and removable media on the desktop
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true
defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true
defaults write com.apple.finder ShowMountedServersOnDesktop -bool true
defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true
## Keep folders on top when sorting by name
defaults write com.apple.finder _FXSortFoldersFirst -bool true
## Automatically open a new Finder window when a volume is mounted
defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true
defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true
defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool true
## Avoid creating .DS_Store files on network or USB volumes
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
## Use list view in all Finder windows by default
## Four-letter codes for the other view modes: `icnv`, `clmv`, `Flwv`
defaults write com.apple.finder FXPreferredViewStyle -string "Nlsv"
## Expand the following File Info panes:
## “General”, “Open with”, and “Sharing & Permissions”
defaults write com.apple.finder FXInfoPanesExpanded -dict \
General -bool true \
OpenWith -bool true \
Privileges -bool true
###############################################################################
# Terminal
###############################################################################
## Only use UTF-8 in Terminal.app
defaults write com.apple.terminal StringEncodings -array 4
## Enable Secure Keyboard Entry in Terminal.app
## See: https://security.stackexchange.com/a/47786/8918
defaults write com.apple.terminal SecureKeyboardEntry -bool true
## Disable the annoying line marks
defaults write com.apple.Terminal ShowLineMarks -int 0
###############################################################################
# Activity Monitor
###############################################################################
## Show the main window when launching Activity Monitor
defaults write com.apple.ActivityMonitor OpenMainWindow -bool true
## Visualize CPU usage in the Activity Monitor Dock icon
defaults write com.apple.ActivityMonitor IconType -int 5
## Show all processes in Activity Monitor
defaults write com.apple.ActivityMonitor ShowCategory -int 0
## Sort Activity Monitor results by CPU usage
defaults write com.apple.ActivityMonitor SortColumn -string "CPUUsage"
defaults write com.apple.ActivityMonitor SortDirection -int 0
###############################################################################
# Screen
###############################################################################
## Require password immediately after sleep or screen saver.
defaults write com.apple.screensaver askForPassword -int 1
defaults write com.apple.screensaver askForPasswordDelay -int 0
## Enable sub-pixel rendering on non-Apple LCDs.
## https://github.com/kevinSuttle/macOS-Defaults/issues/17#issuecomment-266633501
defaults write -g AppleFontSmoothing -int 1
## Disable and kill Dashboard
defaults write com.apple.dashboard mcx-disabled -bool true
## Lockscreen
### Show System Info at the Login Screen
sudo defaults write com.apple.loginwindow AdminHostInfo HostName
### Disable Login for Hidden User ">Console"
defaults write com.apple.loginwindow DisableConsoleAccess -bool true
## Screenshot
## Save screenshots in PNG format (other options: BMP, GIF, JPG, PDF, TIFF)
defaults write com.apple.screencapture type -string "png"
## Save screenshots to the desktop
defaults write com.apple.screencapture location -string "${HOME}/Desktop"
###############################################################################
# Dock
###############################################################################
## Show indicator lights for open applications in the Dock
defaults write com.apple.dock show-process-indicators -bool true
## Speed of hiding the dock
defaults write com.apple.dock autohide-time-modifier -int 0
## Make Hidden App Icons Translucent in the Dock
defaults write com.apple.Dock showhidden -bool true
## Speed Up Mission Control
defaults write com.apple.dock expose-animation-duration -float 0.12
## Enable spring loading for all Dock items
defaults write com.apple.dock enable-spring-load-actions-on-all-items -bool true
###############################################################################
# Spotlight #
###############################################################################
## Disable Spotlight indexing for any volume that gets mounted and has not yet
## been indexed before.
## Use `sudo mdutil -i off "/Volumes/foo"` to stop indexing any volume.
sudo defaults write /.Spotlight-V100/VolumeConfiguration Exclusions -array "/Volumes"
## Load new settings before rebuilding the index
killall mds > /dev/null 2>&1
## Make sure indexing is enabled for the main volume
sudo mdutil -i on / > /dev/null
## Rebuild the index from scratch
sudo mdutil -E / > /dev/null
###############################################################################
# Some other stuff
###############################################################################
## Check for software updates daily, not just once per week.
defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1
## SSD
## Disable the sudden motion sensor as it’s not useful for SSDs
sudo pmset -a sms 0
## Disable local Time Machine backups
hash tmutil &> /dev/null && sudo tmutil disablelocal
###############################################################################
# Applications
###############################################################################
## Save to disk (not to iCloud) by default:
defaults write -g NSDocumentSaveNewDocumentsToCloud -bool false
## Expand 'Save As…' dialog boxes by default:
defaults write -g NSNavPanelExpandedStateForSaveMode -boolean true
defaults write -g NSNavPanelExpandedStateForSaveMode2 -bool true
## Expand print panel dialog boxes by default:
defaults write -g PMPrintingExpandedStateForPrint -boolean true
defaults write -g PMPrintingExpandedStateForPrint2 -bool true
## Automatically quit printer app once the print jobs complete
defaults write com.apple.print.PrintingPrefs "Quit When Finished" -bool true
## Disable the macOS Crash reporter (quit dialog after an application crash)
defaults write com.apple.CrashReporter DialogType -string "none"
## Disable the “Are you sure you want to open this application?” dialog
defaults write com.apple.LaunchServices LSQuarantine -bool false
## Disable Resume system-wide
defaults write com.apple.systempreferences NSQuitAlwaysKeepsWindows -bool false
## Disable automatic termination of inactive apps
defaults write -g NSDisableAutomaticTermination -bool true
## Disable Notification Center and remove the menu bar icon
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist 2> /dev/null
## Disable automatic capitalization as it’s annoying when typing code
defaults write -g NSAutomaticCapitalizationEnabled -bool false
## Disable smart dashes as they’re annoying when typing code
defaults write -g NSAutomaticDashSubstitutionEnabled -bool false
## Disable automatic period substitution as it’s annoying when typing code
defaults write -g NSAutomaticPeriodSubstitutionEnabled -bool false
## Disable smart quotes as they’re annoying when typing code
defaults write -g NSAutomaticQuoteSubstitutionEnabled -bool false
## Disable auto-correct
defaults write -g NSAutomaticSpellingCorrectionEnabled -bool false
## Enable the debug menu in Address Book
defaults write com.apple.addressbook ABShowDebugMenu -bool true
## Enable the debug menu in iCal (pre-10.8)
defaults write com.apple.iCal IncludeDebugMenu -bool true
## Enable the debug menu in Disk Utility
defaults write com.apple.DiskUtility DUDebugMenuEnabled -bool true
defaults write com.apple.DiskUtility advanced-image-options -bool true
## Prevent Photos from opening automatically when devices are plugged in
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool true
###############################################################################
# Google Chrome & Google Chrome Canary #
###############################################################################
## Use the system-native print preview dialog
defaults write com.google.Chrome DisablePrintPreview -bool true
defaults write com.google.Chrome.canary DisablePrintPreview -bool true
## Expand the print dialog by default
defaults write com.google.Chrome PMPrintingExpandedStateForPrint2 -bool true
defaults write com.google.Chrome.canary PMPrintingExpandedStateForPrint2 -bool true
###############################################################################
# Interfaces: trackpad, mouse, keyboard, bluetooth, etc.
###############################################################################
## Trackpad: enable tap to click for this user and for the login screen
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true
defaults -currentHost write -g com.apple.mouse.tapBehavior -int 1
defaults write -g com.apple.mouse.tapBehavior -int 1
## Map bottom right corner of Apple trackpad to right-click.
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true
defaults -currentHost write -g com.apple.trackpad.trackpadCornerClickBehavior -int 1
defaults -currentHost write com.apple.trackpad.enableSecondaryClick -bool true
## Set a really fast keyboard repeat rate.
defaults write -g KeyRepeat -int 0
defaults write -g InitialKeyRepeat -int 10
## Disable press-and-hold for keys in favor of key repeat.
defaults write -g ApplePressAndHoldEnabled -bool false
## Set language and text formats. (Euro and Metric Units)
defaults write -g AppleLanguages -array "en-US" "de-DE"
defaults write -g AppleLocale -string "en_DE@currency=EUR"
defaults write -g AppleMeasurementUnits -string "Centimeters"
defaults write -g AppleMetricUnits -bool true
## Show language menu in the top right corner of the boot screen
sudo defaults write /Library/Preferences/com.apple.loginwindow showInputMenu -bool true
## Set the timezone; see `sudo systemsetup -listtimezones` for other values
sudo systemsetup -settimezone "Europe/Berlin" > /dev/null
## Increase sound quality for Bluetooth headphones/headsets
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" -int 40
###############################################################################
# Do some clean up work.
###############################################################################
for app in "Activity Monitor" \
"Address Book" \
"Calendar" \
"cfprefsd" \
"Contacts" \
"Dock" \
"Finder" \
"Google Chrome Canary" \
"Google Chrome" \
"Mail" \
"Messages" \
"Photos" \
"Safari" \
"SystemUIServer" \
"Terminal" \
"iCal"; do
kill all "${app}" > /dev/null 2>&1
done
# Wait a bit before moving on...
sleep 1
# ...and then.
echo "Success! Defaults are set."
echo "Some changes will not take effect until you reboot your machine."
# See if the user wants to reboot.
function reboot() {
read -p "Do you want to reboot your computer now? (y/N)" choice
case "$choice" in
y | Yes | yes ) echo "Yes"; exit;; # If y | yes, reboot
n | N | No | no) echo "No"; exit;; # If n | no, exit
* ) echo "Invalid answer. Enter \"y/yes\" or \"N/no\"" && return;;
esac
}
# Call on the function
if [[ "Yes" == $(reboot) ]]
then
echo "Rebooting."
sudo reboot
exit 0
else
exit 1
fi
#/bin/sh
for domain in "MobileMeAccounts" \
"com.aone.keka" \
"com.apple.ActivityMonitor" \
"com.apple.AddressBook" \
"com.apple.AppleMultitouchMouse" \
"com.apple.AppleMultitouchTrackpad" \
"com.apple.BezelServices" \
"com.apple.BluetoothAudioAgent" \
"com.apple.BluetoothFileExchange" \
"com.apple.CalendarAgent" \
"com.apple.CallHistorySyncHelper" \
"com.apple.CaptiveNetworkAssistant" \
"com.apple.CharacterPaletteIM" \
"com.apple.CharacterPicker" \
"com.apple.CloudPhotosConfiguration" \
"com.apple.CommCenter.counts" \
"com.apple.CoreGraphics" \
"com.apple.CrashReporter" \
"com.apple.Dictionary" \
"com.apple.DictionaryServices" \
"com.apple.DiskUtility" \
"com.apple.Dock" \
"com.apple.Finder" \
"com.apple.FolderActionsDispatcher" \
"com.apple.FontRegistry.user" \
"com.apple.GEO" \
"com.apple.HIToolbox" \
"com.apple.LaunchServices" \
"com.apple.Maps" \
"com.apple.Photos" \
"com.apple.Preferences" \
"com.apple.Preview" \
"com.apple.Preview.ViewState" \
"com.apple.PubSubAgent" \
"com.apple.QuickLookDaemon" \
"com.apple.Safari" \
"com.apple.SafariCloudHistoryPushAgent" \
"com.apple.ServicesMenu.Services" \
"com.apple.SetupAssistant" \
"com.apple.SharedWebCredentials" \
"com.apple.Siri" \
"com.apple.Siri.SiriTodayExtension" \
"com.apple.SiriNCService" \
"com.apple.SocialPushAgent" \
"com.apple.SoftwareUpdate" \
"com.apple.SpeechRecognitionCore" \
"com.apple.Spotlight" \
"com.apple.SystemProfiler" \
"com.apple.TelephonyUtilities" \
"com.apple.Terminal" \
"com.apple.TextEdit" \
"com.apple.UserAccountUpdater" \
"com.apple.accounts" \
"com.apple.accountsd" \
"com.apple.addressbook" \
"com.apple.appstore" \
"com.apple.assistant" \
"com.apple.assistant.backedup" \
"com.apple.assistant.support" \
"com.apple.assistant_service" \
"com.apple.audio.AudioMIDISetup" \
"com.apple.avfoundation.frecents" \
"com.apple.bird" \
"com.apple.bookstoreagent" \
"com.apple.calculateframework" \
"com.apple.cloudpaird" \
"com.apple.cloudphotosd" \
"com.apple.commcenter.callservices" \
"com.apple.commcenter.carrier_bundle" \
"com.apple.commcenter.device_specific_nobackup" \
"com.apple.commerce" \
"com.apple.commerce.knownclients" \
"com.apple.commerce.safari" \
"com.apple.commerce.spotlight" \
"com.apple.controlstrip" \
"com.apple.coreauthd" \
"com.apple.corerecents.recentsd" \
"com.apple.coreservices.uiagent" \
"com.apple.coreservices.useractivityd.dynamicuseractivites" \
"com.apple.dashboard" \
"com.apple.dashboard.client" \
"com.apple.desktopservices" \
"com.apple.dock" \
"com.apple.driver.AppleBluetoothMultitouch.mouse" \
"com.apple.driver.AppleBluetoothMultitouch.trackpad" \
"com.apple.driver.AppleHIDMouse" \
"com.apple.facetime.bag" \
"com.apple.finder" \
"com.apple.frameworks.diskimages" \
"com.apple.frameworks.diskimages.diuiagent" \
"com.apple.gamecenter" \
"com.apple.gamed" \
"com.apple.help" \
"com.apple.helpviewer" \
"com.apple.iCal" \
"com.apple.iChat" \
"com.apple.iChat.AIM" \
"com.apple.iChat.Jabber" \
"com.apple.iChat.StatusMessages" \
"com.apple.iTunes" \
"com.apple.iTunesHelper" \
"com.apple.ibooks" \
"com.apple.icloud.fmfd" \
"com.apple.icloud.fmfd.notbackedup" \
"com.apple.identityservicesd" \
"com.apple.ids.subservices" \
"com.apple.imagent" \
"com.apple.imdpersistence.IMDPersistenceAgent" \
"com.apple.imessage" \
"com.apple.imessage.bag" \
"com.apple.imservice.ids.FaceTime" \
"com.apple.imservice.ids.iMessage" \
"com.apple.ipTelephony" \
"com.apple.java.util.prefs" \
"com.apple.keyboardservicesd" \
"com.apple.languageassetd" \
"com.apple.loginitems" \
"com.apple.loginwindow" \
"com.apple.mail" \
"com.apple.mail-shared" \
"com.apple.mediaaccessibility" \
"com.apple.menuextra.battery" \
"com.apple.menuextra.clock" \
"com.apple.messageshelper.AccountInfoController" \
"com.apple.messageshelper.AccountStatusController" \
"com.apple.messageshelper.AlertsController" \
"com.apple.messageshelper.FileTransferController" \
"com.apple.messageshelper.MessageController" \
"com.apple.mmcs" \
"com.apple.ncplugin.calculator" \
"com.apple.ncplugin.weather" \
"com.apple.ncprefs" \
"com.apple.notificationcenterui" \
"com.apple.parsecd" \
"com.apple.passd" \
"com.apple.photolibraryd" \
"com.apple.preference.general" \
"com.apple.preference.trackpad" \
"com.apple.preferences.extensions.FinderSync" \
"com.apple.preferences.extensions.PhotoEditing" \
"com.apple.preferences.extensions.ServicesWithUI" \
"com.apple.preferences.extensions.ShareMenu" \
"com.apple.preferences.extensions.SharedLinks" \
"com.apple.preferences.extensions.XcodeSourceEditor" \
"com.apple.print.PrintingPrefs" \
"com.apple.registration" \
"com.apple.reminders.RemindersNC" \
"com.apple.scheduler" \
"com.apple.screencapture" \
"com.apple.screensaver" \
"com.apple.security.KCN" \
"com.apple.security.cloudkeychainproxy3.keysToRegister" \
"com.apple.sharingd" \
"com.apple.sidebarlists" \
"com.apple.siri.media-indexer" \
"com.apple.spaces" \
"com.apple.speech.recognition.AppleSpeechRecognition.prefs" \
"com.apple.speech.synthesis.general.prefs" \
"com.apple.speech.voice.prefs" \
"com.apple.spotlight" \
"com.apple.stockholm" \
"com.apple.stocks" \
"com.apple.suggestions" \
"com.apple.symbolichotkeys" \
"com.apple.systempreferences" \
"com.apple.systemuiserver" \
"com.apple.talagent" \
"com.apple.terminal" \
"com.apple.textInput.keyboardServices.textReplacement" \
"com.apple.touchbar.agent" \
"com.apple.touristd" \
"com.apple.universalaccess" \
"com.apple.wifi.keychain-format" \
"com.apple.xpc.activity2" \
"com.assple.SoftwareUpdate" \
"com.google.Chrome" \
"com.google.Chrome.canary" \
"com.google.Keystone.Agent" \
"com.grammarly.DesktopEditor" \
"com.grammarly.DesktopEditor.helper" \
"com.install4j.installations" \
"com.nextcloud.desktopclient" \
"com.qtproject" \
"com.spotify.client" \
"com.spotify.client.helper" \
"com.tdesktop.Telegram" \
"loginwindow" \
"org.jdownloader.launcher" \
"org.videolan.vlc" \
"widget-com.apple.widget.calendar" \
"widget-com.apple.widget.weather"; do
defaults delete ${domain}
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.