13 lines
220 B
Bash
Executable File
13 lines
220 B
Bash
Executable File
#!/bin/sh
|
|
|
|
tmenu_path () {
|
|
IFS=" :"
|
|
for i in $PATH; do
|
|
for j in "$i"/*; do
|
|
[ -f "$j" ] && [ -x "$j" ] && printf "%s\n" "$j"
|
|
done
|
|
done
|
|
}
|
|
|
|
tmenu_path | tmenu | ${SHELL:-"/bin/sh"} &
|