Browse Source

simplify dmenu_run

master
Connor Lane Smith 13 years ago
parent
commit
70b3418e3e
  1. 2
      dmenu_run

2
dmenu_run

@ -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
) )

Loading…
Cancel
Save