mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
chore(brew): update brew cask aliases for new --cask invocation method
This commit is contained in:
@@ -30,10 +30,15 @@ alias devnullsmtp="java -jar $DOTBIN/DevNullSmtp.jar"
|
|||||||
# Homebrew
|
# Homebrew
|
||||||
if command-exists brew; then
|
if command-exists brew; then
|
||||||
alias br="brew"
|
alias br="brew"
|
||||||
alias ca="brew cask"
|
|
||||||
alias cask="brew cask"
|
|
||||||
alias bb="brew bundle"
|
alias bb="brew bundle"
|
||||||
alias bbg="brew bundle --global"
|
alias bbg="brew bundle --global"
|
||||||
|
|
||||||
|
cask() {
|
||||||
|
local cmd="$1"
|
||||||
|
shift 1
|
||||||
|
brew "$cmd" --cask "$@"
|
||||||
|
}
|
||||||
|
alias ca="cask"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Flutter
|
# Flutter
|
||||||
|
|||||||
Reference in New Issue
Block a user