Skip to content

Instantly share code, notes, and snippets.

@rpeshkov
Last active March 23, 2018 23:20
Show Gist options
  • Save rpeshkov/50415741a0f00eea3f88429356dfd6a5 to your computer and use it in GitHub Desktop.
Save rpeshkov/50415741a0f00eea3f88429356dfd6a5 to your computer and use it in GitHub Desktop.
Macos settings
defaults write -g ApplePressAndHoldEnabled -bool false
defaults write com.apple.dock autohide-time-modifier -float 0.15
defaults write com.apple.dock autohide-delay -int 0
# Auto-expand save dialog
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode2 -bool true
#
# Mail
#
# Show Attachments as Icons
defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes
#
# Text Edit
#
# Use Plain Text Mode as Default
defaults write com.apple.TextEdit RichText -int 0
# Disable auto rearrange desktops
defaults write com.apple.dock mru-spaces -bool false
# Dock icon size
defaults write com.apple.dock tilesize -int 40
# Disable motion sensor
sudo pmset -a sms 0
#
# Finder
#
# Show All File Extensions
defaults write -g AppleShowAllExtensions -bool true
# Unhide user's Library
chflags nohidden ~/Library
# Show pathbar
defaults write com.apple.finder ShowPathbar -bool true
# Show statusbar
defaults write com.apple.finder ShowStatusBar -bool true
# Set current folder to default search scope
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
# Set Default Finder Location to Home Folder
defaults write com.apple.finder NewWindowTarget -string "PfLo" && \
defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment