dmenu/dmenu_path

10 lines
127 B
Plaintext
Raw Permalink Normal View History

2007-02-23 09:16:43 +00:00
#!/bin/sh
IFS=:
for dir in $PATH
do
for file in "$dir"/*
do
test -x "$file" && echo "${file##*/}"
done
done | sort | uniq