dotfiles/.bin/OLD/portjump
2024-02-14 07:55:58 +01:00

18 lines
353 B
Bash
Executable File

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