brew: prevent deletion of python@3.11
This commit is contained in:
parent
677b875879
commit
fdbc4f9280
@ -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] '")
|
||||
|
Loading…
x
Reference in New Issue
Block a user