From 4e2096f21a68fd3f95248cd5a0482fdff112e146 Mon Sep 17 00:00:00 2001 From: Lawrence Date: Thu, 5 Sep 2019 23:18:30 -0400 Subject: [PATCH] Add cask completions to `brew cleanup` --- completions/fish/brew.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index 9813126357..45f866a2a8 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -253,6 +253,7 @@ __fish_brew_complete_arg 'cat' -a '(__fish_brew_suggest_formulae_all)' __fish_brew_complete_cmd 'cleanup' "Remove old installed versions" __fish_brew_complete_arg 'cleanup' -a '(__fish_brew_suggest_formulae_installed)' +__fish_brew_complete_arg 'cleanup' -a '(__fish_brew_suggest_casks_installed)' __fish_brew_complete_arg 'cleanup' -l prune -d "Remove all cache files older than given number of days" -a '(seq 1 5)' __fish_brew_complete_arg 'cleanup' -s n -l dry-run -d "Show what files would be removed" __fish_brew_complete_arg 'cleanup' -s s -d "Scrub the cache, removing downloads for even the latest versions of formulae"