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
Ohmyzsh
Commits
8871c7a6
Commit
8871c7a6
authored
Nov 07, 2012
by
Carlos Alexandro Becker
Browse files
made dpkg -i more util
parent
8723a2ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/debian/debian.plugin.zsh
View file @
8871c7a6
...
...
@@ -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) \
...
...
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