diff options
author | Franz König <max.ii.josef@gmail.com> | 2017-02-23 08:52:56 +0100 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2017-02-22 23:52:56 -0800 |
commit | ef9f3d97f0920a0b151d2ada7ae7235d148639dd (patch) | |
tree | a462f2795d3f3ea16001fb3634d44bb3c90f2917 /plugins | |
parent | 4fba92e04fa9b62b2259abc45eb92ca6a74f1639 (diff) | |
download | zsh-ef9f3d97f0920a0b151d2ada7ae7235d148639dd.tar.gz zsh-ef9f3d97f0920a0b151d2ada7ae7235d148639dd.tar.bz2 zsh-ef9f3d97f0920a0b151d2ada7ae7235d148639dd.zip |
Added pacman file aliases (#5869)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/archlinux/README.md | 2 | ||||
-rw-r--r-- | plugins/archlinux/archlinux.plugin.zsh | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/plugins/archlinux/README.md b/plugins/archlinux/README.md index 16f099415..e408db13d 100644 --- a/plugins/archlinux/README.md +++ b/plugins/archlinux/README.md @@ -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 | |----------------|------------------------------------------------------| diff --git a/plugins/archlinux/archlinux.plugin.zsh b/plugins/archlinux/archlinux.plugin.zsh index 3156e949a..105bd2d5f 100644 --- a/plugins/archlinux/archlinux.plugin.zsh +++ b/plugins/archlinux/archlinux.plugin.zsh @@ -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 |