1
0
Fork 0

simplify dmenu_run

This commit is contained in:
Connor Lane Smith 2011-10-17 10:22:23 +01:00
parent cf641ae496
commit 70b3418e3e

View file

@ -5,7 +5,7 @@ if [ ! -d "`dirname "$CACHE"`" ]; then
fi fi
( (
IFS=: IFS=:
if test "`ls -dt $PATH "$CACHE" 2> /dev/null | sed 1q`" != "$CACHE"; then if [ "`ls -dt $PATH "$CACHE" | head -n 1`" != "$CACHE" ]; then
lsx $PATH | sort -u > "$CACHE" lsx $PATH | sort -u > "$CACHE"
fi fi
) )