Skip to content

Commit f3ca780

Browse files
committed
🤹
1 parent 08f6ca8 commit f3ca780

File tree

2 files changed

+3
-32
lines changed

2 files changed

+3
-32
lines changed

‎home/dot_dotfiles/scripts/run_once_before_01_osx-install-packages.sh.tmpl‎

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -79,34 +79,4 @@ info "Installing brew packages 📦"
7979
brew bundle --file={{ joinPath .chezmoi.sourceDir "/dot_dotfiles/brew/casks.Brewfile" | quote }}
8080
{{ end }}
8181

82-
###############################################################################
83-
# Kill affected applications #
84-
###############################################################################
85-
86-
info "Restarting OS X GUI"
87-
for app in "Activity Monitor" \
88-
"Address Book" \
89-
"Calendar" \
90-
"cfprefsd" \
91-
"Contacts" \
92-
"Dock" \
93-
"Finder" \
94-
"Google Chrome Canary" \
95-
"Google Chrome" \
96-
"Mail" \
97-
"Messages" \
98-
"Opera" \
99-
"Photos" \
100-
"Safari" \
101-
"SizeUp" \
102-
"Spectacle" \
103-
"SystemUIServer" \
104-
"Terminal" \
105-
"Transmission" \
106-
"Tweetbot" \
107-
"Twitter" \
108-
"iCal"; do
109-
killall "${app}" &> /dev/null
110-
done
111-
11282
{{ end }}
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
#!/bin/bash
2-
{{ if eq .chezmoi.os "darwin" }}
32
# run_onchange_configure-macos.sh
43
# This script configures various macOS settings
54
# The run_onchange_ prefix makes chezmoi run this when the script changes
65

6+
{{ if eq .chezmoi.os "darwin" }}
7+
78
{{ if (.installApps) }}
89
brew bundle --file={{ joinPath .chezmoi.sourceDir "/dot_dotfiles/brew/minimal.Brewfile" | quote }}
910
{{ end }}
1011
{{ if (.installCasks) }}
1112
brew bundle --file={{ joinPath .chezmoi.sourceDir "/dot_dotfiles/brew/casks.Brewfile" | quote }}
1213
{{ end }}
1314

14-
source ~/.zshrc
15+
1516
{{ end }}

0 commit comments

Comments
 (0)