Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
format with shfmt stable
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Jun 11, 2017
1 parent 2fd2450 commit 49b8657
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion build
Submodule build updated from 127b2c to 36efc1
30 changes: 15 additions & 15 deletions homebrew/aliases.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
if which brew >/dev/null 2>&1; then
brew() {
case "$1" in
cleanup)
(cd "$(brew --repo)" && git prune && git gc)
command brew cleanup --force
command brew cask cleanup --force
command brew prune
rm -rf "$(brew --cache)"
;;
bump)
command brew update
command brew upgrade
brew cleanup
;;
*)
command brew "$@"
;;
cleanup)
(cd "$(brew --repo)" && git prune && git gc)
command brew cleanup --force
command brew cask cleanup --force
command brew prune
rm -rf "$(brew --cache)"
;;
bump)
command brew update
command brew upgrade
brew cleanup
;;
*)
command brew "$@"
;;
esac
}
fi
4 changes: 2 additions & 2 deletions macos/set-defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ fi
set +e

disable_agent() {
mv "$1" "$1_DISABLED" >/dev/null 2>&1 ||
sudo mv "$1" "$1_DISABLED" >/dev/null 2>&1
mv "$1" "$1_DISABLED" >/dev/null 2>&1 \
|| sudo mv "$1" "$1_DISABLED" >/dev/null 2>&1
}

unload_agent() {
Expand Down

0 comments on commit 49b8657

Please sign in to comment.