dmenu/dmenu_path

10 lines
127 B
Plaintext
Raw Permalink Normal View History

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