mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 09:58:47 -07:00
add 'deb' plugin with Debian's apt aliases
This commit is contained in:
parent
a6b8bec8ec
commit
f90cb7e7b9
12
plugins/deb/deb.plugin.zsh
Normal file
12
plugins/deb/deb.plugin.zsh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Aliases
|
||||||
|
alias as="aptitude -F \"* %p -> %d \n(%v/%V)\" \
|
||||||
|
--no-gui --disable-columns search" # search package
|
||||||
|
alias ad="sudo apt-get update" # update packages lists
|
||||||
|
alias au="sudo apt-get update && \
|
||||||
|
sudo apt-get dselect-upgrade" # upgrade packages
|
||||||
|
alias ai="sudo apt-get install" # install package
|
||||||
|
alias ar="sudo apt-get remove --purge && \
|
||||||
|
sudo apt-get autoremove --purge" # remove package
|
||||||
|
alias ap="apt-cache policy" # apt policy
|
||||||
|
alias av="apt-cache show" # show package info
|
||||||
|
alias ac="sudo apt-get clean && sudo apt-get autoclean" # clean apt cache
|
Loading…
Reference in New Issue
Block a user