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"