-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmacOS
More file actions
24 lines (17 loc) · 797 Bytes
/
macOS
File metadata and controls
24 lines (17 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env sh
# copied from:
# - https://github.com/mathiasbynens/dotfiles
# - https://github.com/inky/dotfiles
# - http://apple.stackexchange.com/questions/19468/suit-up
# Enable full keyboard access for all controls (e.g. enable Tab in modal
# dialogs)
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
# Make Dock icons of hidden applications translucent
defaults write com.apple.dock showhidden -bool true
# Display full POSIX path as Finder window title
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
# Allow quitting Finder via ⌘ + Q; doing so will also hide desktop icons
defaults write com.apple.finder QuitMenuItem -bool true
# Reset Dock and Finder
rm ~/Library/Application\ Support/Dock/*.db
for app in Dock Finder; do killall "$app"; done