From deded23a336f60d57f45adb9c9cc1759b89cc34d Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Thu, 30 Nov 2017 13:32:20 +0000 Subject: [PATCH] Disable smart quotes and dashes in OS X. --- .ansible/roles/mac_desktop/tasks/prefs.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.ansible/roles/mac_desktop/tasks/prefs.yaml b/.ansible/roles/mac_desktop/tasks/prefs.yaml index bd4def5..730efc0 100644 --- a/.ansible/roles/mac_desktop/tasks/prefs.yaml +++ b/.ansible/roles/mac_desktop/tasks/prefs.yaml @@ -57,6 +57,24 @@ key: tilesize value: 35 +- name: 'OS X: Smart quotes off' + tags: + - config + osx_defaults: + domain: NSGlobalDomain + type: int + key: NSAutomaticQuoteSubstitutionEnabled + value: 0 + +- name: 'OS X: Smart dashes off' + tags: + - config + osx_defaults: + domain: NSGlobalDomain + type: int + key: NSAutomaticDashSubstitutionEnabled + value: 0 + - name: 'OS X: Clear preferences cache' tags: - config