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
e59f4cb1
Commit
e59f4cb1
authored
Aug 31, 2015
by
Robby Russell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4271 from loctauxphilippe/patch-1
added apt-get autoremove in ubuntu plugin
parents
9bb99e1f
aaf5c8f4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ubuntu.plugin.zsh
plugins/ubuntu/ubuntu.plugin.zsh
+3
-0
No files found.
plugins/ubuntu/ubuntu.plugin.zsh
View file @
e59f4cb1
...
...
@@ -3,6 +3,7 @@
# https://github.com/dbb
# https://github.com/Mappleconfusers
# Nicolas Jonas nextgenthemes.com
# https://github.com/loctauxphilippe
#
# Debian, Ubuntu and friends related zsh aliases and functions for zsh
...
...
@@ -38,6 +39,7 @@ alias agu='sudo apt-get update' # ad
alias
agud
=
'sudo apt-get update && sudo apt-get dist-upgrade'
#adu
alias
agug
=
'sudo apt-get upgrade'
# ag
alias
aguu
=
'sudo apt-get update && sudo apt-get upgrade'
#adg
alias
agar
=
'sudo apt-get autoremove'
compdef _ag
ag
=
'sudo apt-get'
compdef _aga
aga
=
'sudo apt-get autoclean'
...
...
@@ -51,6 +53,7 @@ compdef _agu agu='sudo apt-get update'
compdef _agud
agud
=
'sudo apt-get update && sudo apt-get dist-upgrade'
compdef _agug
agug
=
'sudo apt-get upgrade'
compdef _aguu
aguu
=
'sudo apt-get update && sudo apt-get upgrade'
compdef _agar
agar
=
'sudo apt-get autoremove'
# Remove ALL kernel images and headers EXCEPT the one in use
alias
kclean
=
'sudo 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