1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 18:38:00 +00:00

homebrew: Remove wrapper function for deprecation warning

This commit is contained in:
Indrajit Raychaudhuri 2021-04-30 19:01:51 -05:00 committed by Indrajit Raychaudhuri
parent 9d42feac16
commit 3285b33f0c

View File

@ -44,13 +44,3 @@ alias caskl='brew list --cask'
alias casko='brew outdated --cask' alias casko='brew outdated --cask'
alias casks='brew search --cask' alias casks='brew search --cask'
alias caskx='brew uninstall --cask' alias caskx='brew uninstall --cask'
function hb_deprecated {
local cmd="${@[3]}"
local cmd_args="${@:4}"
printf "'brew cask %s' has been deprecated, " "${cmd}"
printf "using 'brew %s' instead\n" "${cmd}"
command brew "${cmd}" "${=cmd_args}"
}