dot_testing/sh/tmenu_run

13 lines
220 B
Plaintext
Raw Normal View History

2022-07-05 14:08:31 -05:00
#!/bin/sh
tmenu_path () {
IFS=" :"
for i in $PATH; do
for j in "$i"/*; do
[ -f "$j" ] && [ -x "$j" ] && printf "%s\n" "$j"
2022-07-05 14:08:31 -05:00
done
done
}
2022-11-27 12:45:24 -06:00
tmenu_path | tmenu | ${SHELL:-"/bin/sh"} &