mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2024-06-13 01:19:32 +02:00
homebrew: Remove wrapper function for deprecation warning
This commit is contained in:
parent
3dc2235553
commit
57998bde85
|
@ -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 a new issue