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
ff2b0e48
Unverified
Commit
ff2b0e48
authored
Aug 10, 2022
by
LittleboyHarry
Committed by
GitHub
Aug 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(debian): remove aptitude-only `-P` flag (#11053)
parent
97134d1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
debian.plugin.zsh
plugins/debian/debian.plugin.zsh
+4
-4
No files found.
plugins/debian/debian.plugin.zsh
View file @
ff2b0e48
...
...
@@ -89,22 +89,22 @@ else
alias
afu
=
"su -lc '
$apt
-file update'"
alias
au
=
"su -lc '
$apt_pref
$apt_upgr
' root"
function
ai
()
{
cmd
=
"su -lc '
aptitude -P
install
$@
' root"
cmd
=
"su -lc '
$apt_pref
install
$@
' root"
print
"
$cmd
"
eval
"
$cmd
"
}
function
ap
()
{
cmd
=
"su -lc '
$apt_pref
-P
purge
$@
' root"
cmd
=
"su -lc '
$apt_pref
purge
$@
' root"
print
"
$cmd
"
eval
"
$cmd
"
}
function
ar
()
{
cmd
=
"su -lc '
$apt_pref
-P
remove
$@
' root"
cmd
=
"su -lc '
$apt_pref
remove
$@
' root"
print
"
$cmd
"
eval
"
$cmd
"
}
function
aar
()
{
cmd
=
"su -lc '
$apt_pref
-P
autoremove
$@
' root"
cmd
=
"su -lc '
$apt_pref
autoremove
$@
' root"
print
"
$cmd
"
eval
"
$cmd
"
}
...
...
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