-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathosx.sh
25 lines (17 loc) · 819 Bytes
/
osx.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash
echo -e "\\n\\nSetting OS X settings"
echo "=============================="
# echo "Finder: show all filename extensions"
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
# echo "show hidden files by default"
defaults write com.apple.Finder AppleShowAllFiles -bool false
echo "Use current directory as default search scope in Finder"
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
echo "Show Path bar in Finder"
defaults write com.apple.finder ShowPathbar -bool true
echo "Show Status bar in Finder"
defaults write com.apple.finder ShowStatusBar -bool true
echo "Enable Safari’s debug menu"
defaults write com.apple.Safari IncludeInternalDebugMenu -bool true
defaults write com.apple.dock autohide -bool true
echo "Automatically hide and show the Dock."