dotfiles/os/macos/language_and_region.pref.fish
2024-02-04 16:00:19 -08:00

22 lines
663 B
Fish
Executable file

#!/usr/bin/env fish
source "$DOT/script/utils.fish"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
print_subtitle "Language & Region"
execute "defaults write -g AppleLanguages -array 'en'" \
"Set language"
execute "defaults write -g AppleLocale -string 'en_US@currency=USD'" \
"Set currency"
execute "defaults write -g AppleMeasurementUnits -string 'Inches'" \
"Set measurement unit"
execute "defaults write -g AppleMetricUnits -bool false" \
"Use imperial measurement system"
execute "defaults write -g AppleICUDateFormatStrings -dict 2 'd MMM y' 3 'd MMMM y' 4 'EEEE, d MMMM y'" \
"Set date formats"