This commit is contained in:
randomuser 2022-07-05 15:43:21 -05:00
parent 19172ef27b
commit 3b7bc5491c
2 changed files with 13 additions and 0 deletions

View File

@ -31,6 +31,7 @@ sh:
cp -f sh/tmenu $(DESTDIR)$(PREFIX)/bin
cp -f sh/tmenu-backend $(DESTDIR)$(PREFIX)/bin
cp -f sh/tmenu_run $(DESTDIR)$(PREFIX)/bin
cp -f sh/ss $(DESTDIR)$(PREFIX)/bin
mkc: c/scream c/timer c/boid c/anaconda c/colors

12
sh/ss Executable file
View File

@ -0,0 +1,12 @@
#!/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"