aboutsummaryrefslogtreecommitdiff
path: root/dmenu_path
blob: 4ecf4faa957e6e15b3d90c92dfbb10c2e1e4d08a (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh
IFS=:
for dir in $PATH
do
	for file in "$dir"/*
	do
		test -x "$file" && echo "${file##*/}"
	done
done | sort -u