Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 355 lines (255 sloc) 16.221 kb
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
1 # ~/.osx — http://mths.be/osx
2
3 ###############################################################################
4 # General UI/UX #
5 ###############################################################################
6
7 # Menu bar: disable transparency
f150692 @mathiasbynens Use `NSGlobalDomain` instead of `-g`.
authored
8 defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
7d02270 @mathiasbynens Initial commit.
authored
9
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
10 # Menu bar: show remaining battery time; hide percentage
91918d7 @mathiasbynens Show remaining battery time; hide percentage.
authored
11 defaults write com.apple.menuextra.battery ShowPercent -string "NO"
12 defaults write com.apple.menuextra.battery ShowTime -string "YES"
13
4e31acd @mathiasbynens .osx: Hide the useless Time Machine and Volume icons
authored
14 # Menu bar: hide the useless Time Machine and Volume icons
15 defaults write com.apple.systemuiserver menuExtras -array "/System/Library/CoreServices/Menu Extras/Bluetooth.menu" "/System/Library/CoreServices/Menu Extras/AirPort.menu" "/System/Library/CoreServices/Menu Extras/Battery.menu" "/System/Library/CoreServices/Menu Extras/Clock.menu"
16
45806ef @mathiasbynens Always show scrollbars.
authored
17 # Always show scrollbars
18 defaults write NSGlobalDomain AppleShowScrollBars -string "Always"
19
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
20 # Disable opening and closing window animations
21 defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
22
23 # Increase window resize speed for Cocoa applications
24 defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
25
7d02270 @mathiasbynens Initial commit.
authored
26 # Expand save panel by default
f150692 @mathiasbynens Use `NSGlobalDomain` instead of `-g`.
authored
27 defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
7d02270 @mathiasbynens Initial commit.
authored
28
29 # Expand print panel by default
f150692 @mathiasbynens Use `NSGlobalDomain` instead of `-g`.
authored
30 defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true
7d02270 @mathiasbynens Initial commit.
authored
31
cdbb059 @mathiasbynens Disable the “Are you sure you want to open this application?” dialog.
authored
32 # Disable the “Are you sure you want to open this application?” dialog
33 defaults write com.apple.LaunchServices LSQuarantine -bool false
34
61163c8 @mathiasbynens .osx: Group commands by type
authored
35 # Display ASCII control characters using caret notation in standard text views
36 # Try e.g. `cd /tmp; unidecode "\x{0000}" > cc.txt; open -e cc.txt`
37 defaults write NSGlobalDomain NSTextShowsControlCharacters -bool true
7d02270 @mathiasbynens Initial commit.
authored
38
61163c8 @mathiasbynens .osx: Group commands by type
authored
39 # Disable Resume system-wide
40 defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false
6b3819f @mathiasbynens Show indicator lights for open applications in the Dock, and don’t anima...
authored
41
5b4e9d1 @mathiasbynens .osx: Disable automatic termination of inactive apps
authored
42 # Disable automatic termination of inactive apps
43 defaults write NSGlobalDomain NSDisableAutomaticTermination -bool true
44
61163c8 @mathiasbynens .osx: Group commands by type
authored
45 # Fix for the ancient UTF-8 bug in QuickLook (http://mths.be/bbo)
46 # Commented out, as this is known to cause problems when saving files in Adobe Illustrator CS5 :(
47 #echo "0x08000100:0" > ~/.CFUserTextEncoding
7134df8 @mathiasbynens .osx: Remove the auto-hiding Dock delay
authored
48
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
49 ###############################################################################
95ed1a1 @mathiasbynens .osx: Increase sound quality for Bluetooth headphones/headsets
authored
50 # Trackpad, mouse, keyboard, Bluetooth accessories, and input #
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
51 ###############################################################################
61163c8 @mathiasbynens .osx: Group commands by type
authored
52
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
53 # Trackpad: enable tap to click for this user and for the login screen
54 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true
55 defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
56 defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
57
58 # Trackpad: map bottom right corner to right-click
59 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2
60 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true
61 defaults -currentHost write NSGlobalDomain com.apple.trackpad.trackpadCornerClickBehavior -int 1
62 defaults -currentHost write NSGlobalDomain com.apple.trackpad.enableSecondaryClick -bool true
63
64 # Trackpad: swipe between pages with three fingers
f0ac658 @mathiasbynens .osx: Explicitly enable swipe between pages
authored
65 defaults write NSGlobalDomain AppleEnableSwipeNavigateWithScrolls -bool true
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
66 defaults -currentHost write NSGlobalDomain com.apple.trackpad.threeFingerHorizSwipeGesture -int 1
67 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerHorizSwipeGesture -int 1
68
6a42419 @mathiasbynens .osx: Minor formatting tweak
authored
69 # Disable “natural” (Lion-style) scrolling
70 defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false
71
95ed1a1 @mathiasbynens .osx: Increase sound quality for Bluetooth headphones/headsets
authored
72 # Increase sound quality for Bluetooth headphones/headsets
73 defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" -int 40
74
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
75 # Enable full keyboard access for all controls
76 # (e.g. enable Tab in modal dialogs)
77 defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
4c0198f @mathiasbynens .osx: Tweak some more hidden preferences
authored
78
a407d5d @mathiasbynens Add some more goodies to .osx.
authored
79 # Disable press-and-hold for keys in favor of key repeat
f150692 @mathiasbynens Use `NSGlobalDomain` instead of `-g`.
authored
80 defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
a407d5d @mathiasbynens Add some more goodies to .osx.
authored
81
7c46342 @mathiasbynens Set a blazingly fast keyboard repeat rate.
authored
82 # Set a blazingly fast keyboard repeat rate
83 defaults write NSGlobalDomain KeyRepeat -int 0
84
24045d9 @mathiasbynens .osx: Set language and text formats
authored
85 # Set language and text formats
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
86 # Note: if you’re in the US, replace `EUR` with `USD`, `Centimeters` with
87 # `Inches`, and `true` with `false`.
24045d9 @mathiasbynens .osx: Set language and text formats
authored
88 defaults write NSGlobalDomain AppleLanguages -array "en" "nl"
89 defaults write NSGlobalDomain AppleLocale -string "en_GB@currency=EUR"
90 defaults write NSGlobalDomain AppleMeasurementUnits -string "Centimeters"
91 defaults write NSGlobalDomain AppleMetricUnits -bool true
92
a407d5d @mathiasbynens Add some more goodies to .osx.
authored
93 # Disable auto-correct
94 defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
95
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
96 ###############################################################################
97 # Screen #
98 ###############################################################################
29ae35c @mathiasbynens .osx: Enable swipe between pages with three fingers
authored
99
61163c8 @mathiasbynens .osx: Group commands by type
authored
100 # Require password immediately after sleep or screen saver begins
101 defaults write com.apple.screensaver askForPassword -int 1
102 defaults write com.apple.screensaver askForPasswordDelay -int 0
103
7baa45c @mathiasbynens .osx: Clean up after commit 5b36bee8676dc8e800f68e3a559e102dcefcae36
authored
104 # Save screenshots to the desktop
105 defaults write com.apple.screencapture location -string "$HOME/Desktop"
106
107 # Save screenshots in PNG format (other options: BMP, GIF, JPG, PDF, TIFF)
108 defaults write com.apple.screencapture type -string "png"
109
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
110 # Disable shadow in screenshots
111 defaults write com.apple.screencapture disable-shadow -bool true
112
113 # Enable subpixel font rendering on non-Apple LCDs
114 defaults write NSGlobalDomain AppleFontSmoothing -int 2
115
116 ###############################################################################
117 # Finder #
118 ###############################################################################
119
120 # Finder: allow quitting via ⌘ + Q; doing so will also hide desktop icons
61163c8 @mathiasbynens .osx: Group commands by type
authored
121 defaults write com.apple.finder QuitMenuItem -bool true
122
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
123 # Finder: disable window animations and Get Info animations
61163c8 @mathiasbynens .osx: Group commands by type
authored
124 defaults write com.apple.finder DisableAllAnimations -bool true
125
e4d22ec @mathiasbynens .osx: Show icons for hard drives, servers, and removable media on the de...
authored
126 # Show icons for hard drives, servers, and removable media on the desktop
127 defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true
128 defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true
129 defaults write com.apple.finder ShowMountedServersOnDesktop -bool true
130 defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true
131
c53f222 @mathiasbynens .osx: Show hidden files by default in Finder
authored
132 # Finder: show hidden files by default
133 defaults write com.apple.Finder AppleShowAllFiles -bool true
134
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
135 # Finder: show all filename extensions
61163c8 @mathiasbynens .osx: Group commands by type
authored
136 defaults write NSGlobalDomain AppleShowAllExtensions -bool true
137
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
138 # Finder: show status bar
61163c8 @mathiasbynens .osx: Group commands by type
authored
139 defaults write com.apple.finder ShowStatusBar -bool true
140
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
141 # Finder: allow text selection in Quick Look
61163c8 @mathiasbynens .osx: Group commands by type
authored
142 defaults write com.apple.finder QLEnableTextSelection -bool true
2433b1b @mathiasbynens Enable AirDrop over Ethernet and on unsupported Macs running OS X Lion.
authored
143
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
144 # Display full POSIX path as Finder window title
145 defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
146
147 # Disable the warning when changing a file extension
148 defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
149
150 # Avoid creating .DS_Store files on network volumes
151 defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
152
a407d5d @mathiasbynens Add some more goodies to .osx.
authored
153 # Disable disk image verification
154 defaults write com.apple.frameworks.diskimages skip-verify -bool true
155 defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true
156 defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true
157
158 # Automatically open a new Finder window when a volume is mounted
159 defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true
160 defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true
4c0198f @mathiasbynens .osx: Tweak some more hidden preferences
authored
161 defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool true
a407d5d @mathiasbynens Add some more goodies to .osx.
authored
162
9bb2dce @mathiasbynens Show item info below desktop icons.
authored
163 # Show item info below desktop icons
ba9b8b8 @mathiasbynens Use full PlistBuddy path instead of the alias, so `.osx` can be used sta...
authored
164 /usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:showItemInfo true" ~/Library/Preferences/com.apple.finder.plist
9bb2dce @mathiasbynens Show item info below desktop icons.
authored
165
dda45e2 @mathiasbynens .osx: Enable snap-to-grid for desktop icons
authored
166 # Enable snap-to-grid for desktop icons
167 /usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist
168
df46055 @mathiasbynens Disable the warning before emptying the Trash.
authored
169 # Disable the warning before emptying the Trash
170 defaults write com.apple.finder WarnOnEmptyTrash -bool false
171
51fba19 @mathiasbynens Empty Trash securely by default.
authored
172 # Empty Trash securely by default
173 defaults write com.apple.finder EmptyTrashSecurely -bool true
174
61163c8 @mathiasbynens .osx: Group commands by type
authored
175 # Enable AirDrop over Ethernet and on unsupported Macs running Lion
176 defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true
b8fbd68 @mathiasbynens Require password immediately after sleep or screen saver begins. (Can al...
authored
177
61163c8 @mathiasbynens .osx: Group commands by type
authored
178 # Show the ~/Library folder
179 chflags nohidden ~/Library
50c583f @mathiasbynens Enable tap to click (Trackpad).
authored
180
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
181 # Remove Dropbox’s green checkmark icons in Finder
182 file=/Applications/Dropbox.app/Contents/Resources/check.icns
183 [ -e "$file" ] && mv -f "$file" "$file.bak"
184 unset file
185
186 ###############################################################################
187 # Dock & hot corners #
188 ###############################################################################
6e45fac @mathiasbynens .osx: Add hot corners
authored
189
61163c8 @mathiasbynens .osx: Group commands by type
authored
190 # Enable highlight hover effect for the grid view of a stack (Dock)
191 defaults write com.apple.dock mouse-over-hilte-stack -bool true
192
9898899 @mathiasbynens .osx: Set the icon size of Dock items to 36 pixels
authored
193 # Set the icon size of Dock items to 36 pixels
194 defaults write com.apple.dock tilesize -int 36
c8e40aa Icon size of 48 pixels for dock items
Cedric Kastner authored
195
61163c8 @mathiasbynens .osx: Group commands by type
authored
196 # Enable spring loading for all Dock items
197 defaults write com.apple.dock enable-spring-load-actions-on-all-items -bool true
198
199 # Show indicator lights for open applications in the Dock
200 defaults write com.apple.dock show-process-indicators -bool true
201
202 # Don’t animate opening applications from the Dock
203 defaults write com.apple.dock launchanim -bool false
204
22ecf0a @mathiasbynens .osx: Speed up Mission Control animations
authored
205 # Speed up Mission Control animations
206 defaults write com.apple.dock expose-animation-duration -float 0.1
207
61163c8 @mathiasbynens .osx: Group commands by type
authored
208 # Remove the auto-hiding Dock delay
209 defaults write com.apple.Dock autohide-delay -float 0
4623943 @mathiasbynens .osx: Cleanup
authored
210 # Remove the animation when hiding/showing the Dock
211 defaults write com.apple.dock autohide-time-modifier -float 0
f60e3e6 @nimbling # Shorten Dock show animation speed
nimbling authored
212
61163c8 @mathiasbynens .osx: Group commands by type
authored
213 # Enable the 2D Dock
2d0737e @mathiasbynens .osx: Comment out the line that enables the 2D Dock
authored
214 #defaults write com.apple.dock no-glass -bool true
61163c8 @mathiasbynens .osx: Group commands by type
authored
215
216 # Automatically hide and show the Dock
217 defaults write com.apple.dock autohide -bool true
218
219 # Make Dock icons of hidden applications translucent
220 defaults write com.apple.dock showhidden -bool true
221
222 # Enable iTunes track notifications in the Dock
223 defaults write com.apple.dock itunes-notifications -bool true
224
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
225 # Reset Launchpad
226 find ~/Library/Application\ Support/Dock -name "*.db" -maxdepth 1 -delete
227
61163c8 @mathiasbynens .osx: Group commands by type
authored
228 # Add a spacer to the left side of the Dock (where the applications are)
229 #defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
230 # Add a spacer to the right side of the Dock (where the Trash is)
231 #defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}'
232
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
233 # Hot corners
234 # Top left screen corner → Mission Control
235 defaults write com.apple.dock wvous-tl-corner -int 2
236 defaults write com.apple.dock wvous-tl-modifier -int 0
237 # Top right screen corner → Desktop
238 defaults write com.apple.dock wvous-tr-corner -int 4
239 defaults write com.apple.dock wvous-tr-modifier -int 0
240 # Bottom left screen corner → Start screen saver
241 defaults write com.apple.dock wvous-bl-corner -int 5
242 defaults write com.apple.dock wvous-bl-modifier -int 0
243
244 ###############################################################################
245 # Safari & WebKit #
246 ###############################################################################
1ab9402 @mathiasbynens Map bottom right Trackpad corner to secondary click (right-click).
authored
247
7d02270 @mathiasbynens Initial commit.
authored
248 # Disable Safari’s thumbnail cache for History and Top Sites
249 defaults write com.apple.Safari DebugSnapshotsUpdatePolicy -int 2
250
558b2c4 @mathiasbynens Enable Safari’s debug menu.
authored
251 # Enable Safari’s debug menu
fc439ad @mathiasbynens Looks like `IncludeDebugMenu` was replaced by `IncludeInternalDebugMenu`...
authored
252 defaults write com.apple.Safari IncludeInternalDebugMenu -bool true
558b2c4 @mathiasbynens Enable Safari’s debug menu.
authored
253
4c0198f @mathiasbynens .osx: Tweak some more hidden preferences
authored
254 # Make Safari’s search banners default to Contains instead of Starts With
255 defaults write com.apple.Safari FindOnPageMatchesWordStartsOnly -bool false
256
7d02270 @mathiasbynens Initial commit.
authored
257 # Remove useless icons from Safari’s bookmarks bar
258 defaults write com.apple.Safari ProxiesInBookmarksBar "()"
259
4c0198f @mathiasbynens .osx: Tweak some more hidden preferences
authored
260 # Add a context menu item for showing the Web Inspector in web views
261 defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
72860be @mathiasbynens .osx: Enable the debug menu in iCal and Address Book
authored
262
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
263 ###############################################################################
45676de @mathiasbynens .osx: Enable the debug menu in Disk Utility
authored
264 # Address Book, Dashboard, iCal, iTunes, Mail, and Disk Utility #
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
265 ###############################################################################
266
72860be @mathiasbynens .osx: Enable the debug menu in iCal and Address Book
authored
267 # Enable the debug menu in Address Book
268 defaults write com.apple.addressbook ABShowDebugMenu -bool true
269
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
270 # Enable Dashboard dev mode (allows keeping widgets on the desktop)
271 defaults write com.apple.dashboard devmode -bool true
272
72860be @mathiasbynens .osx: Enable the debug menu in iCal and Address Book
authored
273 # Enable the debug menu in iCal
274 defaults write com.apple.iCal IncludeDebugMenu -bool true
4c0198f @mathiasbynens .osx: Tweak some more hidden preferences
authored
275
289c3ea @mathiasbynens .osx: Disable the iTunes arrow links completely
authored
276 # Make the iTunes arrow links go to your library instead of the iTunes Store
277 defaults write com.apple.iTunes invertStoreLinks -bool true
278
279 # Disable the iTunes arrow links completely
280 defaults write com.apple.iTunes show-store-arrow-links -bool false
6c2be0e @kevinlawler .osx: Make iTunes arrows go to your library by default (rather than the ...
kevinlawler authored
281
17c5050 @mathiasbynens Disable the Ping sidebar in iTunes.
authored
282 # Disable the Ping sidebar in iTunes
283 defaults write com.apple.iTunes disablePingSidebar -bool true
284
36c4597 @mathiasbynens Disable Ping entirely.
authored
285 # Disable all the other Ping stuff in iTunes
286 defaults write com.apple.iTunes disablePing -bool true
287
4c0198f @mathiasbynens .osx: Tweak some more hidden preferences
authored
288 # Make ⌘ + F focus the search input in iTunes
289 defaults write com.apple.iTunes NSUserKeyEquivalents -dict-add "Target Search Field" "@F"
290
a407d5d @mathiasbynens Add some more goodies to .osx.
authored
291 # Disable send and reply animations in Mail.app
292 defaults write com.apple.Mail DisableReplyAnimations -bool true
293 defaults write com.apple.Mail DisableSendAnimations -bool true
7d02270 @mathiasbynens Initial commit.
authored
294
42f7f7b @mathiasbynens .osx: Copy email addresses as `foo@example.com` instead of `Foo Bar <foo...
authored
295 # Copy email addresses as `foo@example.com` instead of `Foo Bar <foo@example.com>` in Mail.app
296 defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false
297
45676de @mathiasbynens .osx: Enable the debug menu in Disk Utility
authored
298 # Enable the debug menu in Disk Utility
299 defaults write com.apple.DiskUtility DUDebugMenuEnabled -bool true
300
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
301 ###############################################################################
302 # Terminal #
303 ###############################################################################
5be688e @jpsirois Remove the disturbing ".dmg" Mounting Verification
jpsirois authored
304
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
305 # Only use UTF-8 in Terminal.app
306 defaults write com.apple.terminal StringEncodings -array 4
307
308 # Enable “focus follows mouse” for Terminal.app and all X11 apps
309 # This means you can hover over a window and start typing in it without clicking first
310 #defaults write com.apple.terminal FocusFollowsMouse -bool true
311 #defaults write org.x.X11 wm_ffm -bool true
312
313 ###############################################################################
314 # Time Machine #
315 ###############################################################################
7d02270 @mathiasbynens Initial commit.
authored
316
997cb32 @mathiasbynens .osx: Prevent Time Machine from prompting to use new hard drives as back...
authored
317 # Prevent Time Machine from prompting to use new hard drives as backup volume
318 defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true
319
7d02270 @mathiasbynens Initial commit.
authored
320 # Disable local Time Machine backups
439e6f5 @mathiasbynens Check if `tmutil` is available before using it. (It’s not available on S...
authored
321 hash tmutil &> /dev/null && sudo tmutil disablelocal
7d02270 @mathiasbynens Initial commit.
authored
322
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
323 ###############################################################################
050b7ca @mathiasbynens .osx: Add Twitter.app settings
authored
324 # Twitter.app #
325 ###############################################################################
326
327 # Disable smart quotes as it’s annoying for code tweets
328 defaults write com.twitter.twitter-mac AutomaticQuoteSubstitutionEnabled -bool false
329
330 # Show the app window when clicking the menu icon
331 defaults write com.twitter.twitter-mac MenuItemBehavior -int 1
332
333 # Enable the hidden ‘Develop’ menu
334 defaults write com.twitter.twitter-mac ShowDevelopMenu -bool true
335
336 # Open links in the background
337 defaults write com.twitter.twitter-mac openLinksInBackground -bool true
338
339 # Allow closing the ‘new tweet’ window by pressing `Esc`
340 defaults write com.twitter.twitter-mac ESCClosesComposeWindow -bool true
341
342 # Show full names rather than Twitter handles
343 defaults write com.twitter.twitter-mac ShowFullNames -bool true
344
345 # Hide the app in the background if it’s not the front-most window
346 defaults write com.twitter.twitter-mac HideInBackground -bool true
347
348 ###############################################################################
44ab4cf @mathiasbynens .osx: Group commands in categories
authored
349 # Kill affected applications #
350 ###############################################################################
59c2863 @mathiasbynens Remove the green checkmark icons in Dropbox.
authored
351
050b7ca @mathiasbynens .osx: Add Twitter.app settings
authored
352 for app in Finder Dock Mail Safari iTunes iCal Address\ Book SystemUIServer Twitter; do
6a42419 @mathiasbynens .osx: Minor formatting tweak
authored
353 killall "$app" > /dev/null 2>&1
354 done
7baa45c @mathiasbynens .osx: Clean up after commit 5b36bee8676dc8e800f68e3a559e102dcefcae36
authored
355 echo "Done. Note that some of these changes require a logout/restart to take effect."
Something went wrong with that request. Please try again.