From 9f2ace60be5602cf55bb4c7c3568f5032c90e088 Mon Sep 17 00:00:00 2001 From: Yasmin Teles Date: Thu, 27 Jun 2024 12:05:23 -0300 Subject: [PATCH] feat: disable display the annoying prompt when quitting iTerm2 --- iterm/com.googlecode.iterm2.plist | 2 ++ iterm/settings.sh | 3 +++ 2 files changed, 5 insertions(+) diff --git a/iterm/com.googlecode.iterm2.plist b/iterm/com.googlecode.iterm2.plist index 3b7df52..c61b67e 100644 --- a/iterm/com.googlecode.iterm2.plist +++ b/iterm/com.googlecode.iterm2.plist @@ -2136,6 +2136,8 @@ Print In Black And White + PromptOnQuit + SaveScrollBufferWhenClearing ShowFullScreenTabBar diff --git a/iterm/settings.sh b/iterm/settings.sh index d586510..cb200e4 100644 --- a/iterm/settings.sh +++ b/iterm/settings.sh @@ -7,3 +7,6 @@ defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string "~/.dotfile # Tell iTerm2 to use the custom preferences in the directory defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true + +# Don’t display the annoying prompt when quitting iTerm2 +defaults write com.googlecode.iterm2 PromptOnQuit -bool false