mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Add support for local aur databases
With these simple changes the plugin checks for the local AUR database and updates the aliases so it can update it when you issue a `pacupd` or `yaupd`.
This commit is contained in:
parent
3200705468
commit
b2de82a2e4
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ if [[ -x `which yaourt` ]]; then
|
|||
alias yalst='yaourt -Qe' # List installed packages, even those installed from AUR (they're tagged as "local")
|
||||
alias yaorph='yaourt -Qtd' # Remove orphans using yaourt
|
||||
# Additional yaourt alias examples
|
||||
if [[ -x `which abs` && -x `which aur` ]]; then
|
||||
if [[ -x `which abs` && -x `which aur` '']]; then
|
||||
alias yaupd='yaourt -Sy && sudo abs && sudo aur' # Update and refresh the local package, ABS and AUR databases against repositories
|
||||
elif [[ -x `which abs` ]]; then
|
||||
alias yaupd='yaourt -Sy && sudo abs' # Update and refresh the local package and ABS databases against repositories
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue