Skip to content

Commit

Permalink
made dpkg -i more util
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Nov 7, 2012
1 parent 8723a2c commit 8871c7a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugins/debian/debian.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ if [[ $use_sudo -eq 1 ]]; then
# Install all .deb files in the current directory.
# Warning: you will need to put the glob in single quotes if you use:
# glob_subst
alias di='sudo dpkg -i ./*.deb'
alias dia='sudo dpkg -i ./*.deb'
alias di='sudo dpkg -i'

# Remove ALL kernel images and headers EXCEPT the one in use
alias kclean='sudo aptitude remove -P ?and(~i~nlinux-(ima|hea) \
Expand Down Expand Up @@ -100,7 +101,8 @@ else
# Install all .deb files in the current directory
# Assumes glob_subst is off
alias di='su -lc "dpkg -i ./*.deb" root'
alias dia='su -lc "dpkg -i ./*.deb" root'
alias di='su -lc "dpkg -i" root'
# Remove ALL kernel images and headers EXCEPT the one in use
alias kclean='su -lc '\''aptitude remove -P ?and(~i~nlinux-(ima|hea) \
Expand Down

0 comments on commit 8871c7a

Please sign in to comment.