Skip to content

Commit e1f0caa

Browse files
committed
Manage iterm config
1 parent c45c16c commit e1f0caa

3 files changed

Lines changed: 1480 additions & 0 deletions

File tree

home/.chezmoidata/packages.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ packages:
77
platforms:
88
- darwin
99
- linux
10+
iterm2:
11+
platforms:
12+
- darwin
13+
overrides:
14+
darwin:
15+
type: cask
16+
guiOnly: true
1017
jq:
1118
platforms:
1219
- darwin
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{{ if .gui -}}
2+
#!/bin/bash
3+
{{ if eq .chezmoi.os "darwin" -}}
4+
defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string {{ joinPath .chezmoi.sourceDir ".." "iterm2_settings" | quote }}
5+
defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true
6+
{{ end -}}
7+
{{ end -}}

0 commit comments

Comments
 (0)