mirror of
https://github.com/rydesun/dotfiles.git
synced 2026-01-08 07:07:23 +08:00
Update zsh func
This commit is contained in:
parent
826ef9842e
commit
11ab2b3935
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,7 @@ alias pmq='pacman -Qs'
|
|||
alias pms='pacman -Ss'
|
||||
pmi() { pacman -Qii $1 2>/dev/null || pacman -Sii $1 }
|
||||
pmo() { pacman -Qoq $1 2>/dev/null || pkgfile -i $1 }
|
||||
pml() { (pacman -Qlq $1 2>/dev/null || pkgfile -lq $1) | sed '/\/$/d' }
|
||||
pml() { (pacman -Qlq $1 2>/dev/null || pkgfile -lq $1) | sed -e '/\/$/d' -e '/^\/usr\/share\/locale\//d' }
|
||||
pmb() { pml $1 | awk -F/ '/\/usr\/bin\/.+[^/]$/{print $NF}' }
|
||||
pmd() { pml $1 | grep -e '\.service$' -e '\.socket$' -e '\.timer$' -e '\.desktop$' }
|
||||
# >>>-----------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue