Browse Source

homebrew: Remove wrapper function for deprecation warning

master
Indrajit Raychaudhuri 4 years ago committed by Indrajit Raychaudhuri
parent
commit
e5354deeb7
  1. 10
      modules/homebrew/init.zsh

10
modules/homebrew/init.zsh

@ -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}"
}

Loading…
Cancel
Save