projects
/
xbpsui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c057309
)
fixed purge
author
davidpaulos
<david.paulos123@gmail.com>
Wed, 11 Apr 2018 17:06:09 +0000
(18:06 +0100)
committer
davidpaulos
<david.paulos123@gmail.com>
Wed, 11 Apr 2018 17:06:09 +0000
(18:06 +0100)
XbpsUI.sh
patch
|
blob
|
history
diff --git
a/XbpsUI.sh
b/XbpsUI.sh
index 29e4893ece9c3c14571302f36f0923d3f925edee..373a9e1bd0aecb1b558efd2bb067dcda34c21e5d 100644
(file)
--- a/
XbpsUI.sh
+++ b/
XbpsUI.sh
@@
-43,7
+43,7
@@
function purge
{
local pkg
local argument_input
- pkg="$( xbps-query -l | sort -
k1,1 -
u |
+ pkg="$( xbps-query -l | sort -u |
fzf -i \
--multi \
--exact \
@@
-58,7
+58,7
@@
function purge
--preview-window=right:55%:wrap \
--header="TAB key to (un)select. ENTER to purge. ESC to quit." \
--prompt="filter> " |
- awk '{print $
1
}'
+ awk '{print $
2
}'
)"
pkg="$( echo "$pkg" | paste -sd " " )"