diff --git a/.chezmoiscripts/run_once_after_apply.sh.tmpl b/.chezmoiscripts/run_once_after_apply.sh.tmpl new file mode 100644 index 0000000..9ff138b --- /dev/null +++ b/.chezmoiscripts/run_once_after_apply.sh.tmpl @@ -0,0 +1,6 @@ +#!/bin/sh + +{{ if eq .chezmoi.os "darwin" -}} +defaults write com.googlecode.iterm2 PrefsCustomFolder -string "~/.config/iterm2" +defaults write com.googlecode.iterm2 LoadPrefsFromCustomFolder -bool true +{{ end -}} \ No newline at end of file diff --git a/.chezmoiscripts/run_onchange_after_install.sh.tmpl b/.chezmoiscripts/run_onchange_after_install.sh.tmpl index 47075d2..950b1be 100644 --- a/.chezmoiscripts/run_onchange_after_install.sh.tmpl +++ b/.chezmoiscripts/run_onchange_after_install.sh.tmpl @@ -2,8 +2,3 @@ zsh -i -c 'zinit update' vim +PlugInstall +qall - -{{ if eq .chezmoi.os "darwin" -}} -defaults write com.googlecode.iterm2 PrefsCustomFolder -string "~/.config/iterm2" -defaults write com.googlecode.iterm2 LoadPrefsFromCustomFolder -bool true -{{ end -}} \ No newline at end of file