dotfiles/.bin/OLD/portjump

18 lines
353 B
Plaintext
Raw Normal View History

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