指纹授权
sudo sed -i ".bak" '2s/^/auth sufficient pam_tid.so\'$'\n/g' /etc/pam.d/sudo
修改 Launchpad
#修改布局为7行8列
defaults write com.apple.dock springboard-columns -int 8; defaults write com.apple.dock springboard-rows -int 7; defaults write com.apple.dock ResetLaunchPad -bool TRUE; killall Dock
#修改背景图模糊
defaults write com.apple.dock springboard-blur-radius -int 100; killall Dock
# 其中100代表程度,范围为0~255
修改截图属性
#新建一个 screenshots 的文件夹在桌面
defaults write com.apple.screencapture location ~/Desktop/screenshots; killall SystemUIServer
Docker
#修改自动显示隐藏速度
defaults write com.apple.Dock autohide-delay -float 0 && killall Dock
#重置docker
defaults delete com.apple.dock; killall Dock
设置 sublime 命令
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
Finder显示当前文件路径
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES