Skip to content

Commit

Permalink
Added pacman file aliases (ohmyzsh#5869)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlon1 authored and spiliopoulos committed May 19, 2020
1 parent bf7c706 commit 7471c03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/archlinux/README.md
Expand Up @@ -73,6 +73,8 @@
| pacupd | sudo pacman -Sy | Update and refresh the local package database |
| pacupg | sudo pacman -Syu | Sync with repositories before upgrading packages |
| upgrade | sudo pacman -Syu | Sync with repositories before upgrading packages |
| pacfileupg | sudo pacman -Fy | Download fresh package databases from the server |
| pacfiles | pacman -Fs | Search package file names for matching strings. |

| Function | Description |
|----------------|------------------------------------------------------|
Expand Down
2 changes: 2 additions & 0 deletions plugins/archlinux/archlinux.plugin.zsh
Expand Up @@ -82,6 +82,8 @@ alias pacinsd='sudo pacman -S --asdeps'
alias pacmir='sudo pacman -Syy'
alias paclsorphans='sudo pacman -Qdt'
alias pacrmorphans='sudo pacman -Rs $(pacman -Qtdq)'
alias pacfileupg='sudo pacman -Fy'
alias pacfiles='pacman tFs'


if (( $+commands[abs] && $+commands[aur] )); then
Expand Down

0 comments on commit 7471c03

Please sign in to comment.