pinosaur
/
dmenu.git
/ blob
81df5ed5a86681f13a2552eac8724a41f3f0f8c3
[dmenu.git]
/
dmenu_path
1
#!/bin/sh
2
CACHE=$HOME/.dmenu_cache
3
IFS=:
4
5
if ! test -f "$CACHE" || find $PATH -type d -newer "$CACHE" | grep -q .; then
6
lsx $PATH | sort -u > "$CACHE"
7
fi
8
9
cat "$CACHE"