Skip to content

Commit

Permalink
Add autoremove command
Browse files Browse the repository at this point in the history
  • Loading branch information
rummik committed Jul 8, 2015
1 parent 069322a commit 37089b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions patpat.plugin.zsh
Expand Up @@ -52,6 +52,7 @@ function -pat-help {
search <pattern...> Search for a package by name and/or pattern [aptitude]
find <pattern...> Search files in packages by pattern [apt-file]
show <package> Display detailed information about a package [aptitude]
autoremove Automatically remove all unused packages [apt-get]
If a command does not match the list above, it is passed directly to aptitude.
Expand Down Expand Up @@ -108,3 +109,7 @@ function -pat-find {
function -pat-file {
_pat-su apt-file $@
}

function -pat-autoremove {
_pat-su apt-get autoremove $@
}

0 comments on commit 37089b4

Please sign in to comment.