Skip to content

Commit b34694a

Browse files
committed
Use option as meta key
1 parent 9b3577d commit b34694a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

bin/macos-setup

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ defaults write NSGlobalDomain NSAutomaticCapitalizationEnabled -bool false
5151
# Disable Tips notifications
5252
defaults write com.apple.tips notificationsAllowed -bool false
5353

54+
# Terminal.app: use Option as Meta key (for both profiles)
55+
defaults write com.apple.Terminal "Default Window Settings" -string "Basic"
56+
defaults write com.apple.Terminal "Startup Window Settings" -string "Basic"
57+
/usr/libexec/PlistBuddy -c "Set :Window\ Settings:Basic:useOptionAsMetaKey true" ~/Library/Preferences/com.apple.Terminal.plist 2>/dev/null || \
58+
/usr/libexec/PlistBuddy -c "Add :Window\ Settings:Basic:useOptionAsMetaKey bool true" ~/Library/Preferences/com.apple.Terminal.plist
59+
5460
# In Tart VMs, set desktop to solid grey
5561
if $is_tart_vm; then
5662
osascript -e "tell application \"Finder\" to set desktop picture to POSIX file \"$basedir/grey.png\""

0 commit comments

Comments
 (0)