mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
made dpkg -i more util
This commit is contained in:
parent
8723a2ce58
commit
8871c7a6d0
1 changed files with 4 additions and 2 deletions
|
@ -61,7 +61,8 @@ if [[ $use_sudo -eq 1 ]]; then
|
||||||
# Install all .deb files in the current directory.
|
# Install all .deb files in the current directory.
|
||||||
# Warning: you will need to put the glob in single quotes if you use:
|
# Warning: you will need to put the glob in single quotes if you use:
|
||||||
# glob_subst
|
# 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
|
# Remove ALL kernel images and headers EXCEPT the one in use
|
||||||
alias kclean='sudo aptitude remove -P ?and(~i~nlinux-(ima|hea) \
|
alias kclean='sudo aptitude remove -P ?and(~i~nlinux-(ima|hea) \
|
||||||
|
@ -100,7 +101,8 @@ else
|
||||||
|
|
||||||
# Install all .deb files in the current directory
|
# Install all .deb files in the current directory
|
||||||
# Assumes glob_subst is off
|
# 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
|
# Remove ALL kernel images and headers EXCEPT the one in use
|
||||||
alias kclean='su -lc '\''aptitude remove -P ?and(~i~nlinux-(ima|hea) \
|
alias kclean='su -lc '\''aptitude remove -P ?and(~i~nlinux-(ima|hea) \
|
||||||
|
|
Loading…
Reference in a new issue