roelfie / dotfiles

Repository containing my macOS dotfiles (and much more)
3 stars 0 forks source link

Backup Terminal setting: Auto-close window when shell exits. #2

Open roelfie opened 2 years ago

roelfie commented 2 years ago

By default, when a Terminal shell exits, the window stays open. This is useless for me.

The following setting (under Terminal/Preferences/Profiles/Shell) is more convenient: "When the shell exits: Close if the shell exited cleanly".

Find out if there's a "defaults" key for this one, and add it to setup_macos.zsh.