refactor iterm2: 調整成只執行一次
This commit is contained in:
parent
6391bd9d9a
commit
da1ea82a5d
6
.chezmoiscripts/run_once_after_apply.sh.tmpl
Normal file
6
.chezmoiscripts/run_once_after_apply.sh.tmpl
Normal file
@ -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 -}}
|
@ -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 -}}
|
Loading…
x
Reference in New Issue
Block a user