mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 08:08:00 +00:00
homebrew: Remove wrapper function for deprecation warning
This commit is contained in:
parent
9d42feac16
commit
3285b33f0c
@ -44,13 +44,3 @@ alias caskl='brew list --cask'
|
||||
alias casko='brew outdated --cask'
|
||||
alias casks='brew search --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}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user