Latest
This commit is contained in:
parent
1bbc6e476a
commit
b81e640cd3
3 changed files with 41 additions and 23 deletions
|
@ -929,29 +929,29 @@ defaults write com.tapbots.TweetbotMac OpenURLsDirectly -bool true
|
||||||
# Kill affected applications #
|
# Kill affected applications #
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
for app in "Activity Monitor" \
|
# for app in "Activity Monitor" \
|
||||||
"Address Book" \
|
# "Address Book" \
|
||||||
"Calendar" \
|
# "Calendar" \
|
||||||
"cfprefsd" \
|
# "cfprefsd" \
|
||||||
"Contacts" \
|
# "Contacts" \
|
||||||
"Dock" \
|
# "Dock" \
|
||||||
"Finder" \
|
# "Finder" \
|
||||||
"Google Chrome Canary" \
|
# "Google Chrome Canary" \
|
||||||
"Google Chrome" \
|
# "Google Chrome" \
|
||||||
"Mail" \
|
# "Mail" \
|
||||||
"Messages" \
|
# "Messages" \
|
||||||
"Opera" \
|
# "Opera" \
|
||||||
"Photos" \
|
# "Photos" \
|
||||||
"Safari" \
|
# "Safari" \
|
||||||
"SizeUp" \
|
# "SizeUp" \
|
||||||
"Spectacle" \
|
# "Spectacle" \
|
||||||
"SystemUIServer" \
|
# "SystemUIServer" \
|
||||||
"Transmission" \
|
# "Transmission" \
|
||||||
"Tweetbot" \
|
# "Tweetbot" \
|
||||||
"Twitter" \
|
# "Twitter" \
|
||||||
"iCal"; do
|
# "iCal"; do
|
||||||
killall "${app}" &> /dev/null
|
# killall "${app}" &> /dev/null
|
||||||
done
|
# done
|
||||||
|
|
||||||
# Set Drift as default screen saver
|
# Set Drift as default screen saver
|
||||||
defaults -currentHost write com.apple.screensaver moduleDict -dict moduleName Brooklyn path "/System/Library/Screen Savers/Drift.saver"
|
defaults -currentHost write com.apple.screensaver moduleDict -dict moduleName Brooklyn path "/System/Library/Screen Savers/Drift.saver"
|
||||||
|
|
|
@ -21,6 +21,15 @@ if [ -d "/home/linuxbrew/.linuxbrew/bin" ]; then
|
||||||
export MANPATH="/home/linuxbrew/.linuxbrew/share/man${MANPATH+:$MANPATH}:"
|
export MANPATH="/home/linuxbrew/.linuxbrew/share/man${MANPATH+:$MANPATH}:"
|
||||||
export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-}"
|
export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-}"
|
||||||
export WHALEBREW_INSTALL_PATH="/home/linuxbrew/.linuxbrew/whalebrew"
|
export WHALEBREW_INSTALL_PATH="/home/linuxbrew/.linuxbrew/whalebrew"
|
||||||
|
elif [ -d "$HOME/.linuxbrew/bin" ]; then
|
||||||
|
export HOMEBREW_PREFIX="$HOME/.linuxbrew"
|
||||||
|
export HOMEBREW_CELLAR="$HOME/.linuxbrew/Cellar"
|
||||||
|
export HOMEBREW_REPOSITORY="$HOME/.linuxbrew/Homebrew"
|
||||||
|
export PATH="$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin${PATH+:$PATH}"
|
||||||
|
export MANPATH="$HOME/.linuxbrew/share/man${MANPATH+:$MANPATH}:"
|
||||||
|
export INFOPATH="$HOME/.linuxbrew/share/info:${INFOPATH:-}"
|
||||||
|
export WHALEBREW_INSTALL_PATH="$HOME/.linuxbrew/whalebrew"
|
||||||
|
eval "$("$HOME/.linuxbrew/bin/brew" shellenv)"
|
||||||
elif [ -f "/usr/local/bin/brew" ]; then
|
elif [ -f "/usr/local/bin/brew" ]; then
|
||||||
eval "$(/usr/local/bin/brew shellenv)"
|
eval "$(/usr/local/bin/brew shellenv)"
|
||||||
elif [ -f "${HOMEBREW_PREFIX:-/opt/homebrew}/bin/brew" ]; then
|
elif [ -f "${HOMEBREW_PREFIX:-/opt/homebrew}/bin/brew" ]; then
|
||||||
|
|
|
@ -68,6 +68,15 @@ if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
|
||||||
export MANPATH="/home/linuxbrew/.linuxbrew/share/man${MANPATH+:$MANPATH}:"
|
export MANPATH="/home/linuxbrew/.linuxbrew/share/man${MANPATH+:$MANPATH}:"
|
||||||
export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-}"
|
export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-}"
|
||||||
export WHALEBREW_INSTALL_PATH="/home/linuxbrew/.linuxbrew/whalebrew"
|
export WHALEBREW_INSTALL_PATH="/home/linuxbrew/.linuxbrew/whalebrew"
|
||||||
|
elif [ -d "$HOME/.linuxbrew/bin" ]; then
|
||||||
|
export HOMEBREW_PREFIX="$HOME/.linuxbrew"
|
||||||
|
export HOMEBREW_CELLAR="$HOME/.linuxbrew/Cellar"
|
||||||
|
export HOMEBREW_REPOSITORY="$HOME/.linuxbrew/Homebrew"
|
||||||
|
export PATH="$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin${PATH+:$PATH}"
|
||||||
|
export MANPATH="$HOME/.linuxbrew/share/man${MANPATH+:$MANPATH}:"
|
||||||
|
export INFOPATH="$HOME/.linuxbrew/share/info:${INFOPATH:-}"
|
||||||
|
export WHALEBREW_INSTALL_PATH="$HOME/.linuxbrew/whalebrew"
|
||||||
|
eval "$("$HOME/.linuxbrew/bin/brew" shellenv)"
|
||||||
elif [ -f /opt/homebrew/bin/brew ]; then
|
elif [ -f /opt/homebrew/bin/brew ]; then
|
||||||
eval $(/opt/homebrew/bin/brew shellenv)
|
eval $(/opt/homebrew/bin/brew shellenv)
|
||||||
elif [ -f /usr/local/bin/brew ]; then
|
elif [ -f /usr/local/bin/brew ]; then
|
||||||
|
|
Loading…
Reference in a new issue