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 Mike Cheng committed Oct 28, 2019
1 parent 3d80fa4 commit 1542faa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions plugins/archlinux/README.md
Expand Up @@ -119,9 +119,7 @@
| 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 |
| pacls | pacman -Ql | List files in a package |
| pacown | pacman -Qo | Show which package owns a file |
| pacfiles | pacman -Fs | Search package file names for matching strings. |

| Function | Description |
|----------------|------------------------------------------------------|
Expand Down
4 changes: 1 addition & 3 deletions plugins/archlinux/archlinux.plugin.zsh
Expand Up @@ -149,9 +149,7 @@ 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 -Fs'
alias pacls='pacman -Ql'
alias pacown='pacman -Qo'
alias pacfiles='pacman tFs'


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

0 comments on commit 1542faa

Please sign in to comment.