13 lines
229 B
Plaintext
13 lines
229 B
Plaintext
|
#!/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"
|