aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Zauner <azet@azet.org>2014-12-11 17:34:15 +0100
committerMathias Bynens <mathias@qiwi.be>2014-12-19 09:33:48 +0100
commit07cd2632f56be58a5c1ba41a830e537e34f24e5f (patch)
tree04a90fe19f58cc4d3f4c53abc1657bfde5c1975d
parent70bca80bb17426279a23498b47abceaf264e8cfe (diff)
downloaddotfiles-07cd2632f56be58a5c1ba41a830e537e34f24e5f.tar.gz
dotfiles-07cd2632f56be58a5c1ba41a830e537e34f24e5f.tar.bz2
dotfiles-07cd2632f56be58a5c1ba41a830e537e34f24e5f.zip
.osx: Kill apps with `-HUP` to make sure they restart
Note that a full system restart is needed after running `.osx` anyhow, but this small change improves the situation for those who don’t do that. Closes #469.
-rwxr-xr-x.osx2
1 files changed, 1 insertions, 1 deletions
diff --git a/.osx b/.osx
index 857e777..dc7df54 100755
--- a/.osx
+++ b/.osx
@@ -745,6 +745,6 @@ defaults write com.twitter.twitter-mac HideInBackground -bool true
for app in "Activity Monitor" "Address Book" "Calendar" "Contacts" "cfprefsd" \
"Dock" "Finder" "Mail" "Messages" "Safari" "SizeUp" "SystemUIServer" \
"Terminal" "Transmission" "Twitter" "iCal"; do
- killall "${app}" > /dev/null 2>&1
+ killall -HUP "${app}" > /dev/null 2>&1
done
echo "Done. Note that some of these changes require a logout/restart to take effect."