]> git.armaanb.net Git - dmenu.git/blob - dmenu_path
using the old-style fashion we uses earlier
[dmenu.git] / dmenu_path
1 #!/bin/sh
2 IFS=:
3 for dir in $PATH
4 do
5         for file in "$dir"/*
6         do
7                 test -x "$file" && echo "${file##*/}"
8         done
9 done | sort -u