Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
7cea8475
Commit
7cea8475
authored
Nov 08, 2017
by
Juanra Núñez
Committed by
Robby Russell
Nov 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added aliases for listing packages (#6374)
Added 'agli' to list all installed packages. Added 'aglu' to list available updates only.
parent
2c87f85a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
ubuntu.plugin.zsh
plugins/ubuntu/ubuntu.plugin.zsh
+9
-0
No files found.
plugins/ubuntu/ubuntu.plugin.zsh
View file @
7cea8475
...
...
@@ -21,7 +21,16 @@ compdef _ags ags='apt-get source'
alias
acp
=
'apt-cache policy'
# app
compdef _acp
acp
=
'apt-cache policy'
#List all installed packages
alias
agli
=
'apt list --installed'
compdef _agli
agli
=
'apt list --installed'
# superuser operations ######################################################
# List available updates only
alias
aglu
=
'sudo apt-get -u upgrade --assume-no'
compdef _aglu
aglu
=
'sudo apt-get -u upgrade --assume-no'
alias
afu
=
'sudo apt-file update'
compdef _afu
afu
=
'sudo apt-file update'
...
...
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