From 1719e2161024083989378698a505495b93a86894 Mon Sep 17 00:00:00 2001 From: davidpaulos Date: Thu, 12 Apr 2018 15:22:48 +0100 Subject: [PATCH] just refiningand fixing some stuff some stuff --- XbpsUI.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/XbpsUI.sh b/XbpsUI.sh index 373a9e1..5754c26 100644 --- a/XbpsUI.sh +++ b/XbpsUI.sh @@ -22,11 +22,11 @@ function install #inline info to display info inline #preview to show the package description #header and prompt to give info for people to know how to do stuff - pkg="$( xbps-query -Rs "" | sort -u | fzf -i \ + pkg="$( xbps-query -Rs "" | sort -u | grep -v "*" | fzf -i \ --multi --exact --no-sort --select-1 --query="$argument_input" \ --cycle --reverse --margin="4%,1%,1%,2%" \ --inline-info \ - --preview 'xbps-query -R {1} '\ + --preview 'xbps-query -R {2} '\ --preview-window=right:55%:wrap \ --header="TAB key to (un)select. ENTER to install. ESC to quit." \ --prompt="filter> " | awk '{print $2}' @@ -54,7 +54,7 @@ function purge --reverse \ --margin="4%,1%,1%,2%" \ --inline-info \ - --preview 'xbps-query -S {1} '\ + --preview 'xbps-query -S {2} '\ --preview-window=right:55%:wrap \ --header="TAB key to (un)select. ENTER to purge. ESC to quit." \ --prompt="filter> " | -- 2.30.2