dotfiles/os/macos/language_and_region.pref.fish

23 lines
663 B
Fish
Raw Normal View History

2024-02-01 21:27:49 -08:00
#!/usr/bin/env fish
source "$DOT/script/utils.fish"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
print_subtitle "Language & Region"
execute "defaults write -g AppleLanguages -array 'en'" \
2024-02-03 12:05:02 -08:00
"Set language"
2024-02-01 21:27:49 -08:00
2024-02-04 15:52:43 -08:00
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"
2024-02-03 20:03:19 -08:00
execute "defaults write -g AppleICUDateFormatStrings -dict 2 'd MMM y' 3 'd MMMM y' 4 'EEEE, d MMMM y'" \
2024-02-03 12:05:02 -08:00
"Set date formats"