Skip to content

Instantly share code, notes, and snippets.

@jhanzo
Created February 3, 2017 12:06
Show Gist options
  • Save jhanzo/56dd10f9f9ac32f90e4e9fc5e8cb3b50 to your computer and use it in GitHub Desktop.
Save jhanzo/56dd10f9f9ac32f90e4e9fc5e8cb3b50 to your computer and use it in GitHub Desktop.
Disable double quotes on Mac
for d in $(defaults domains|tr -d ,);do
osascript -e "app id \"$d\""&>/dev/null||continue
defaults write $d SmartQuotes -bool false
# defaults write $d SmartDashes -bool false
# defaults write $d SmartLinks -bool false
# defaults write $d SmartCopyPaste -bool false
# defaults write $d TextReplacement -bool false
# defaults write $d CheckSpellingWhileTyping -bool false
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment