forked from jsg2021/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
macos-settings
executable file
·44 lines (29 loc) · 1.37 KB
/
macos-settings
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/sh
# key repeat instead of that accent character menu.
defaults write -g ApplePressAndHoldEnabled -bool false
## Finder
# Show hidden files.
# defaults write com.apple.finder AppleShowAllFiles YES
defaults write -g AppleShowAllFiles -bool true
# Show all extensions.
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
# Disable the warning when changing a file extension.
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
# When performing a search, search the current folder by default
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
# Always open everything in Finder's column view
defaults write com.apple.Finder FXPreferredViewStyle clmv
# Allow selection of text in quicklook windows.
defaults write com.apple.finder QLEnableTextSelection -bool true
# Show status bar.
defaults write com.apple.finder ShowStatusBar -bool true
# Show path bar.
defaults write com.apple.finder ShowPathbar -bool true
# Disable warning when the user does empty trash.
defaults write com.apple.finder WarnOnEmptyTrash -bool false
# Expand 'Save As…' dialog boxes by default:
defaults write -g NSNavPanelExpandedStateForSaveMode -boolean true
defaults write -g NSNavPanelExpandedStateForSaveMode2 -bool true
## Dock
# Move Dock to the right side of the screen
defaults write com.apple.dock "orientation" -string "right" && killall Dock