From 49b86576285091fc6935a3afb13ce451817a4216 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Sun, 11 Jun 2017 20:08:59 -0300 Subject: [PATCH] format with shfmt stable --- build | 2 +- homebrew/aliases.zsh | 30 +++++++++++++++--------------- macos/set-defaults.sh | 4 ++-- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/build b/build index 127b2c067..36efc129d 160000 --- a/build +++ b/build @@ -1 +1 @@ -Subproject commit 127b2c067ff639a80cbbadf224f86e35de230bd2 +Subproject commit 36efc129d4efb411a96f3383552398727f56a9db diff --git a/homebrew/aliases.zsh b/homebrew/aliases.zsh index 6f6d60590..6c3d78840 100644 --- a/homebrew/aliases.zsh +++ b/homebrew/aliases.zsh @@ -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 diff --git a/macos/set-defaults.sh b/macos/set-defaults.sh index dfd10991c..330e9fdba 100755 --- a/macos/set-defaults.sh +++ b/macos/set-defaults.sh @@ -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() {