diff --git a/local/bin/dfm b/local/bin/dfm index e10ebc7..86229af 100755 --- a/local/bin/dfm +++ b/local/bin/dfm @@ -213,6 +213,8 @@ function section_brew "update:Updates and upgrades brew packages" "updatebundle:Updates Brewfile with descriptions" "autoupdate:Setups brew auto-update and runs it immediately" + "leaves:List brew leaves (installed on request)" + "clean:Clean up brew packages" ) x-have brew && { @@ -231,6 +233,12 @@ function section_brew --file="$BREWFILE" \ --describe && msg_yay "Done!" ;; + leaves) + brew leaves --installed-on-request + ;; + clean) + brew bundle cleanup --file="$BREWFILE" && msg_yay "Done!" + ;; autoupdate) brew autoupdate delete brew autoupdate start 43200 --upgrade --cleanup --immediate