Skip to content

Commit

Permalink
set iterm2 custom prefs through zshrc_macos
Browse files Browse the repository at this point in the history
  • Loading branch information
izzygomez committed Mar 9, 2024
1 parent 8155a06 commit 1407f3b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions zsh/zshrc_macos
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ if [ -f '/Users/izzyg/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/izzyg/goo
# The next line enables shell command completion for gcloud.
if [ -f '/Users/izzyg/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/izzyg/google-cloud-sdk/completion.zsh.inc'; fi

if [ -d "/Applications/iTerm.app" ]; then
# Tell iTerm2 to use the custom preferences in the dotfiles repo
defaults write com.googlecode.iterm2 PrefsCustomFolder -string "$dotfiles_dir/iterm2-config"
defaults write com.googlecode.iterm2 LoadPrefsFromCustomFolder -bool true
else
echo "~/.zshrc_macos: iTerm2 not installed, can't set settings."
fi

################################################################################
# Homebrew package configurations
################################################################################
Expand Down

0 comments on commit 1407f3b

Please sign in to comment.