This commit is contained in:
Joe Lillibridge 2024-12-04 12:12:05 -06:00
parent 652a57e8e9
commit c0b7aa3931
No known key found for this signature in database
2 changed files with 10 additions and 16 deletions

View File

@ -1,16 +0,0 @@
#!/bin/sh
system_type=$(uname -s)
if [ "$system_type" = "Darwin" ]; then
# possibly add something here to ensure iTerm2 is installed using Homebrew
# cask like in the previous example
if [ -d "$HOME/.iterm2" ]; then
echo "Setting iTerm preference folder"
defaults write com.googlecode.iterm2 PreferredBaseDir "$HOME/.iterm2"
defaults write com.googlecode.iterm2 PrefsCustomFolder "$HOME/.iterm2"
fi
fi

View File

@ -0,0 +1,10 @@
#!/bin/sh
# possibly add something here to ensure iTerm2 is installed using Homebrew
# cask like in the previous example
if [ -d "$HOME/.iterm2" ]; then
echo "Setting iTerm preference folder"
defaults write com.googlecode.iterm2 PreferredBaseDir "$HOME/.iterm2"
defaults write com.googlecode.iterm2 PrefsCustomFolder "$HOME/.iterm2"
fi