Browse Source

pkgsearch: simpler void support

pull/6/head
DanielFGray 4 years ago
parent
commit
7f1184608e
1 changed files with 2 additions and 7 deletions
  1. 2
    7
      pkgsearch

+ 2
- 7
pkgsearch View File

@@ -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