brew: prevent deletion of python@3.11

This commit is contained in:
Charles Gould 2022-11-11 11:49:45 -05:00
parent 677b875879
commit fdbc4f9280

View File

@ -21,7 +21,7 @@ function fbrew --description "Fuzzy homebrew"
set --local uninst_pkgs $argv
# Don't uninstall these packages
set --local locked_pkgs node python python@3.8 python@3.9 python@3.10
set --local locked_pkgs node python python@3.8 python@3.9 python@3.10 python@3.11
if test (count $uninst_pkgs) -eq 0
set uninst_pkgs (brew leaves | eval "fzf --multi --prompt='[brew:uninstall] '")