Add color to install / remove to differentiate (#858)

* Add color to install / remove to differentiate

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
David Anderson 2025-08-18 04:59:28 -07:00 committed by GitHub
parent ccf6afc36c
commit 0eca37f3ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ fzf_args=(
--bind 'alt-p:toggle-preview' --bind 'alt-p:toggle-preview'
--bind 'alt-d:preview-half-page-down,alt-u:preview-half-page-up' --bind 'alt-d:preview-half-page-down,alt-u:preview-half-page-up'
--bind 'alt-k:preview-up,alt-j:preview-down' --bind 'alt-k:preview-up,alt-j:preview-down'
--color 'pointer:green,marker:green'
) )
pkg_name=$(yay -Slq | fzf "${fzf_args[@]}") pkg_name=$(yay -Slq | fzf "${fzf_args[@]}")

View File

@ -7,6 +7,7 @@ fzf_args=(
--bind 'alt-p:toggle-preview' --bind 'alt-p:toggle-preview'
--bind 'alt-d:preview-half-page-down,alt-u:preview-half-page-up' --bind 'alt-d:preview-half-page-down,alt-u:preview-half-page-up'
--bind 'alt-k:preview-up,alt-j:preview-down' --bind 'alt-k:preview-up,alt-j:preview-down'
--color 'pointer:red,marker:red'
) )
pkg_name=$(yay -Qqe | fzf "${fzf_args[@]}") pkg_name=$(yay -Qqe | fzf "${fzf_args[@]}")