2023-01-21 13:55:09 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2023-05-21 14:36:14 +02:00
|
|
|
cd /usr/ports
|
2023-01-21 13:55:09 +01:00
|
|
|
|
2023-05-21 14:36:14 +02:00
|
|
|
_ports=$(find \
|
|
|
|
* \
|
|
|
|
mystuff/* \
|
|
|
|
openbsd-wip/* \
|
|
|
|
-type d \
|
|
|
|
-maxdepth 1 \
|
2023-09-12 22:25:33 +02:00
|
|
|
| grep -v -E distfiles\|pobj\|plist\|CVS\|.git)
|
2023-05-21 14:36:14 +02:00
|
|
|
|
|
|
|
print "$_ports" \
|
2023-01-21 13:55:09 +01:00
|
|
|
| fzf -e -i -0 -1 +s \
|
|
|
|
--query "$1" \
|
|
|
|
--preview='portinfo {}'
|
|
|
|
|