dot_testing/builds/utils/sh/ss
2023-07-07 16:55:42 -05:00

13 lines
229 B
Bash
Executable File

#!/bin/sh
scripts="$(
find /home/usr/git/utils/sh /home/usr/git/utils/c -type f |
grep -v '\.git' |
xargs file |
grep 'C source \|POSIX shell script' |
awk -F':' '{print $1}' |
fzy
)"
[ -z "$scripts" ] || nvim "$scripts"