aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2013-11-05 15:49:13 +0100
committerMathias Bynens <mathias@qiwi.be>2013-11-05 15:49:13 +0100
commit5b8a202b2e7fff29647b1957401289c9143df882 (patch)
tree4f5fa78c0fa44e36cf3b4ae300d50f7c7b29370b
parent8dbb54c2752999c836469b2b783385b31077a745 (diff)
downloaddotfiles-5b8a202b2e7fff29647b1957401289c9143df882.tar.gz
dotfiles-5b8a202b2e7fff29647b1957401289c9143df882.tar.bz2
dotfiles-5b8a202b2e7fff29647b1957401289c9143df882.zip
.osx: Disable smart quotes and dashes
-rwxr-xr-x.osx6
1 files changed, 6 insertions, 0 deletions
diff --git a/.osx b/.osx
index b79b70b..cf4ea6d 100755
--- a/.osx
+++ b/.osx
@@ -106,6 +106,12 @@ defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1
# Disable Notification Center and remove the menu bar icon
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist 2> /dev/null
+# Disable smart quotes as they’re annoying when typing code
+defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false
+
+# Disable smart dashes as they’re annoying when typing code
+defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false
+
###############################################################################
# SSD-specific tweaks #
###############################################################################