From 7aaa7ebabcc59f707903de515008cedd491ad383 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Sun, 22 May 2022 16:41:33 +0200 Subject: [PATCH] config/shell/arch: remove file list package name prefix --- .config/shell/arch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/shell/arch b/.config/shell/arch index a46a912..76c57ed 100644 --- a/.config/shell/arch +++ b/.config/shell/arch @@ -53,7 +53,7 @@ yas() { # List installed packages into fzf and remove selection # Tip: use -e to list only explicitly installed packages yar() { - pkg=$(yay --color=always -Q "$@" | yzf 1 --tiebreak=length --preview="yay --color always -Qli {1}") + pkg=$(yay --color=always -Q "$@" | yzf 1 --tiebreak=length --preview="yay --color always -Qli {1} | sed 's/^[^a-z]*m{1}//'") if test -n "$pkg" then echo "Removing $pkg..." cmd="yay -R --cascade --recursive $pkg"