Update 2023-05-21 14:36 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2023-05-21 14:36:14 +02:00
parent f83033e1c3
commit a1ed6930ed
6 changed files with 62 additions and 63 deletions

View File

@@ -5,21 +5,18 @@ then
exit 0
fi
_mystuff=$(find /usr/ports/mystuff /usr/ports/openbsd-wip \
-mindepth 2 \
-maxdepth 2 \
-type d \
-not \
-path "*/.git*" \
-not \
-path "*/CVS*" \
| sed 's|/usr/ports/||')
cd /usr/ports
_ports=$(echo "SELECT PkgPath from Paths;" \
| sqlite3 /usr/local/share/sqlports \
| sort -u)
_ports=$(find \
* \
mystuff/* \
openbsd-wip/* \
-type d \
-maxdepth 1 \
| grep -v -E distfiles\|pobj\|plist\|CVS)
printf '%s\n%s\n' "$_mystuff" "$_ports" \
print "$_ports" \
| fzf -e -i -0 -1 +s \
--query "$1" \
--preview='portinfo {}'