Browse Source

pkgsearch: simpler void support

pull/6/head
DanielFGray 6 years ago
parent
commit
7f1184608e
  1. 9
      pkgsearch

9
pkgsearch

@ -111,13 +111,8 @@ arch() { @@ -111,13 +111,8 @@ arch() {
}
void() {
fzf --ansi < <(xbps-query -Rs '' |
sort |
awk '{
match($0, /-[^-]*$/);
print substr($0, 1, RSTART - 1) " " substr($0, RSTART + 1);
}') |
cut -d' ' -f2 |
fzf --ansi < <(xbps-query -Rs '' | sort) |
awk '{sub(/-[^\-]*$/, \"\", \$2); print \$2}' |
install 'xbps-install -S'
}

Loading…
Cancel
Save