8871c7a6d00a7c0a1e586e4f4d7a21c255231783

Author
Carlos Alexandro Becker <caarlos0@gmail.com>
Committer
Carlos Alexandro Becker <caarlos0@gmail.com>
Date

Message

made dpkg -i more util

Diff

 1diff --git a/plugins/debian/debian.plugin.zsh b/plugins/debian/debian.plugin.zsh
 2index 39d3ef36a05280e9e285412afecba861278bd73c..71f22f7bdd65a3801b5ba1175148b9ff63630081 100644
 3--- a/plugins/debian/debian.plugin.zsh
 4+++ b/plugins/debian/debian.plugin.zsh
 5@@ -61,7 +61,8 @@ if [[ $use_sudo -eq 1 ]]; then
 6     # Install all .deb files in the current directory.
 7     # Warning: you will need to put the glob in single quotes if you use:
 8     # glob_subst
 9-    alias di='sudo dpkg -i ./*.deb'
10+    alias dia='sudo dpkg -i ./*.deb'
11+    alias di='sudo dpkg -i'
12 
13     # Remove ALL kernel images and headers EXCEPT the one in use
14     alias kclean='sudo aptitude remove -P ?and(~i~nlinux-(ima|hea) \
15@@ -100,7 +101,8 @@ else
16 
17     # Install all .deb files in the current directory
18     # Assumes glob_subst is off
19-    alias di='su -lc "dpkg -i ./*.deb" root'
20+    alias dia='su -lc "dpkg -i ./*.deb" root'
21+    alias di='su -lc "dpkg -i" root'
22 
23     # Remove ALL kernel images and headers EXCEPT the one in use
24     alias kclean='su -lc '\''aptitude remove -P ?and(~i~nlinux-(ima|hea) \