Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
f90cb7e7
Commit
f90cb7e7
authored
Mar 12, 2011
by
Alessandro Ghedini
Browse files
add 'deb' plugin with Debian's apt aliases
parent
a6b8bec8
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/deb/deb.plugin.zsh
0 → 100644
View file @
f90cb7e7
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment