clean up after each update

This commit is contained in:
Matthias Kretschmann 2017-05-26 00:22:46 +02:00
parent e5b61becc6
commit 67fb4fbe83
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC

View File

@ -11,7 +11,7 @@ alias ...="cd ../.."
alias ~="cd ~" alias ~="cd ~"
# Update All The Things # Update All The Things
alias update='sudo apt-get update && sudo apt-get upgrade -y' alias update='sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get clean && sudo apt-get autoremove'
# Copy public key to pasteboard # Copy public key to pasteboard
alias pubkey="more ~/.ssh/id_rsa.pub | pbcopy | printf '=> Public key copied to pasteboard.\n'" alias pubkey="more ~/.ssh/id_rsa.pub | pbcopy | printf '=> Public key copied to pasteboard.\n'"