From 3285b33f0c8751e165f3781e1d4fbf4676c708b1 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Fri, 30 Apr 2021 19:01:51 -0500 Subject: [PATCH] homebrew: Remove wrapper function for deprecation warning --- modules/homebrew/init.zsh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/modules/homebrew/init.zsh b/modules/homebrew/init.zsh index f655d0b9..57ea9225 100644 --- a/modules/homebrew/init.zsh +++ b/modules/homebrew/init.zsh @@ -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}" -}