bin/smart-quote-enable
#!/usr/bin/env bash
#
# Enable smart quotes
#
# Copyright 2021, Joe Block <jpb@unixorn.net>
if [[ "$(uname -s)" != 'Darwin' ]]; then
echo 'Sorry, this script only works on macOS'
exit 1
fi
exec defaults write NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled -bool true