dot_testing/utils/sh/ss

13 lines
229 B
Plaintext
Raw Permalink Normal View History

2022-07-05 15:43:21 -05:00
#!/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"