diff options
author | Carlos Alexandro Becker <caarlos0@gmail.com> | 2012-11-07 10:28:44 -0200 |
---|---|---|
committer | Carlos Alexandro Becker <caarlos0@gmail.com> | 2012-11-07 10:28:44 -0200 |
commit | 8871c7a6d00a7c0a1e586e4f4d7a21c255231783 (patch) | |
tree | cf52c030c898434a067f803de1f50643e936720f /plugins | |
parent | 8723a2ce58abd951c6664ddb19b29d612219956a (diff) | |
download | zsh-8871c7a6d00a7c0a1e586e4f4d7a21c255231783.tar.gz zsh-8871c7a6d00a7c0a1e586e4f4d7a21c255231783.tar.bz2 zsh-8871c7a6d00a7c0a1e586e4f4d7a21c255231783.zip |
made dpkg -i more util
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/debian/debian.plugin.zsh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/debian/debian.plugin.zsh b/plugins/debian/debian.plugin.zsh index 39d3ef36a..71f22f7bd 100644 --- a/plugins/debian/debian.plugin.zsh +++ b/plugins/debian/debian.plugin.zsh @@ -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) \ @@ -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) \ |