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
da6ece4e
Commit
da6ece4e
authored
Aug 31, 2015
by
Robby Russell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4117 from nextgenthemes/patch-1
Adds agar = apt-get autoremove
parents
eb12ec1d
2e92ff8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ubuntu.plugin.zsh
plugins/ubuntu/ubuntu.plugin.zsh
+3
-1
No files found.
plugins/ubuntu/ubuntu.plugin.zsh
View file @
da6ece4e
...
@@ -29,6 +29,7 @@ compdef _ppap ppap='sudo ppa-purge'
...
@@ -29,6 +29,7 @@ compdef _ppap ppap='sudo ppa-purge'
alias
ag
=
'sudo apt-get'
# age - but without sudo
alias
ag
=
'sudo apt-get'
# age - but without sudo
alias
aga
=
'sudo apt-get autoclean'
# aac
alias
aga
=
'sudo apt-get autoclean'
# aac
alias
agar
=
'sudo apt-get autoremove'
alias
agb
=
'sudo apt-get build-dep'
# abd
alias
agb
=
'sudo apt-get build-dep'
# abd
alias
agc
=
'sudo apt-get clean'
# adc
alias
agc
=
'sudo apt-get clean'
# adc
alias
agd
=
'sudo apt-get dselect-upgrade'
# ads
alias
agd
=
'sudo apt-get dselect-upgrade'
# ads
...
@@ -43,6 +44,7 @@ alias agar='sudo apt-get autoremove'
...
@@ -43,6 +44,7 @@ alias agar='sudo apt-get autoremove'
compdef _ag
ag
=
'sudo apt-get'
compdef _ag
ag
=
'sudo apt-get'
compdef _aga
aga
=
'sudo apt-get autoclean'
compdef _aga
aga
=
'sudo apt-get autoclean'
compdef _agar
agar
=
'sudo apt-get autoremove'
compdef _agb
agb
=
'sudo apt-get build-dep'
compdef _agb
agb
=
'sudo apt-get build-dep'
compdef _agc
agc
=
'sudo apt-get clean'
compdef _agc
agc
=
'sudo apt-get clean'
compdef _agd
agd
=
'sudo apt-get dselect-upgrade'
compdef _agd
agd
=
'sudo apt-get dselect-upgrade'
...
@@ -68,7 +70,7 @@ alias mydeb='time dpkg-buildpackage -rfakeroot -us -uc'
...
@@ -68,7 +70,7 @@ alias mydeb='time dpkg-buildpackage -rfakeroot -us -uc'
# apt-add-repository with automatic install/upgrade of the desired package
# apt-add-repository with automatic install/upgrade of the desired package
# Usage: aar ppa:xxxxxx/xxxxxx [packagename]
# Usage: aar ppa:xxxxxx/xxxxxx [packagename]
# If packagename is not given as 2nd ar
ument the function will ask for it and guess the defaup
t by taking
# If packagename is not given as 2nd ar
gument the function will ask for it and guess the defaul
t by taking
# the part after the / from the ppa name wich is sometimes the right name for the package you want to install
# the part after the / from the ppa name wich is sometimes the right name for the package you want to install
aar
()
{
aar
()
{
if
[
-n
"
$2
"
]
;
then
if
[
-n
"
$2
"
]
;
then
...
...
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