From a01585fb1c286fca1e61c326e2d4438d93efd845 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Tue, 11 Jun 2024 18:46:23 -0700 Subject: [PATCH 1/2] iterm2: update zap for AI features Signed-off-by: Patrick Linnane --- Casks/i/iterm2.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Casks/i/iterm2.rb b/Casks/i/iterm2.rb index a66e39fd4c508..f31bbaf02b067 100644 --- a/Casks/i/iterm2.rb +++ b/Casks/i/iterm2.rb @@ -45,12 +45,15 @@ app "iTerm.app" zap trash: [ + "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.googlecode.iterm2.itermai.sfl*", "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.googlecode.iterm2.sfl*", "~/Library/Application Support/iTerm", "~/Library/Application Support/iTerm2", "~/Library/Caches/com.googlecode.iterm2", + "~/Library/Containers/iTermAI", "~/Library/Cookies/com.googlecode.iterm2.binarycookies", "~/Library/Preferences/com.googlecode.iterm2.plist", + "~/Library/Saved Application State/com.googlecode.iterm2.iTermAI.savedState", "~/Library/Saved Application State/com.googlecode.iterm2.savedState", ] end From 24f1511df15e621b9c4c8099ec1e1774190deb73 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Tue, 11 Jun 2024 19:19:42 -0700 Subject: [PATCH 2/2] Update Casks/i/iterm2.rb Co-authored-by: Justin Krehel <39449589+krehel@users.noreply.github.com> --- Casks/i/iterm2.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Casks/i/iterm2.rb b/Casks/i/iterm2.rb index f31bbaf02b067..227ab19e4e714 100644 --- a/Casks/i/iterm2.rb +++ b/Casks/i/iterm2.rb @@ -53,7 +53,6 @@ "~/Library/Containers/iTermAI", "~/Library/Cookies/com.googlecode.iterm2.binarycookies", "~/Library/Preferences/com.googlecode.iterm2.plist", - "~/Library/Saved Application State/com.googlecode.iterm2.iTermAI.savedState", - "~/Library/Saved Application State/com.googlecode.iterm2.savedState", + "~/Library/Saved Application State/com.googlecode.iterm2*.savedState", ] end