Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
7d27843e
Commit
7d27843e
authored
Mar 25, 2019
by
Marc Cornellà
Browse files
ubuntu: rename ag to age to avoid conflict with The Silver Searcher
Fixes #3866
parent
7fe353cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/ubuntu/README.md
View file @
7d27843e
...
@@ -14,11 +14,11 @@ Commands that use `$APT` will use `apt` if installed or defer to `apt-get` other
...
@@ -14,11 +14,11 @@ Commands that use `$APT` will use `apt` if installed or defer to `apt-get` other
| Alias | Command | Description |
| Alias | Command | Description |
|---------|--------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|
|---------|--------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|
| age |
`sudo $APT`
| Run apt-get with sudo |
| acs |
`apt-cache search`
| Search the apt-cache with the specified criteria |
| acs |
`apt-cache search`
| Search the apt-cache with the specified criteria |
| acp |
`apt-cache policy`
| Display the package source priorities |
| acp |
`apt-cache policy`
| Display the package source priorities |
| afs |
`apt-file search --regexp`
| Perform a regular expression apt-file search |
| afs |
`apt-file search --regexp`
| Perform a regular expression apt-file search |
| afu |
`sudo apt-file update`
| Generates or updates the apt-file package database |
| afu |
`sudo apt-file update`
| Generates or updates the apt-file package database |
| ag |
`sudo $APT`
| Run apt-get with sudo |
| aga |
`sudo $APT autoclean`
| Clears out the local reposityory of retrieved package files that can no longer be downloaded |
| aga |
`sudo $APT autoclean`
| Clears out the local reposityory of retrieved package files that can no longer be downloaded |
| agb |
`sudo $APT build-dep <source_pkg>`
| Installs/Removes packages to satisfy the dependencies of a specified build pkg |
| agb |
`sudo $APT build-dep <source_pkg>`
| Installs/Removes packages to satisfy the dependencies of a specified build pkg |
| agc |
`sudo $APT clean`
| Clears out the local repository of retrieved package files leaving everything from the lock files |
| agc |
`sudo $APT clean`
| Clears out the local repository of retrieved package files leaving everything from the lock files |
...
...
plugins/ubuntu/ubuntu.plugin.zsh
View file @
7d27843e
...
@@ -21,7 +21,7 @@ alias afu='sudo apt-file update'
...
@@ -21,7 +21,7 @@ alias afu='sudo apt-file update'
alias
ppap
=
'sudo ppa-purge'
alias
ppap
=
'sudo ppa-purge'
alias
ag
=
"sudo
$APT
"
alias
ag
e
=
"sudo
$APT
"
alias
aga
=
"sudo
$APT
autoclean"
alias
aga
=
"sudo
$APT
autoclean"
alias
agb
=
"sudo
$APT
build-dep"
alias
agb
=
"sudo
$APT
build-dep"
alias
agc
=
"sudo
$APT
clean"
alias
agc
=
"sudo
$APT
clean"
...
...
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