mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 18:44:22 +08:00
fix(brew): suppress error message of brew cask on Linux (#11302)
This commit is contained in:
1 parent
239e2f9fcd
commit
5ddb589011
1 file changed
+1
-1
@@ -36,7 +36,7 @@ alias buf='brew upgrade --formula'
|
|||||||
|
|
||||||
function brews() {
|
function brews() {
|
||||||
local formulae="$(brew leaves | xargs brew deps --installed --for-each)"
|
local formulae="$(brew leaves | xargs brew deps --installed --for-each)"
|
||||||
local casks="$(brew list --cask)"
|
local casks="$(brew list --cask 2>/dev/null)"
|
||||||
|
|
||||||
local blue="$(tput setaf 4)"
|
local blue="$(tput setaf 4)"
|
||||||
local bold="$(tput bold)"
|
local bold="$(tput bold)"
|
||||||
|
|||||||
Reference in new issue
Block a user