Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
8871c7a6
Commit
8871c7a6
authored
Nov 07, 2012
by
Carlos Alexandro Becker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made dpkg -i more util
parent
8723a2ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
debian.plugin.zsh
plugins/debian/debian.plugin.zsh
+4
-2
No files found.
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