diff options
author | Connor Lane Smith <cls@lubutu.com> | 2011-10-17 10:22:23 +0100 |
---|---|---|
committer | Connor Lane Smith <cls@lubutu.com> | 2011-10-17 10:22:23 +0100 |
commit | 70b3418e3e44a562cec860033d2a3bbf640f3084 (patch) | |
tree | f18043e5503d2c1771f9b6ac5002d57620c007c5 | |
parent | cf641ae49677ae0435780e0641d9b347a4325044 (diff) |
simplify dmenu_run
-rwxr-xr-x | dmenu_run | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ if [ ! -d "`dirname "$CACHE"`" ]; then | |||
5 | fi | 5 | fi |
6 | ( | 6 | ( |
7 | IFS=: | 7 | IFS=: |
8 | if test "`ls -dt $PATH "$CACHE" 2> /dev/null | sed 1q`" != "$CACHE"; then | 8 | if [ "`ls -dt $PATH "$CACHE" | head -n 1`" != "$CACHE" ]; then |
9 | lsx $PATH | sort -u > "$CACHE" | 9 | lsx $PATH | sort -u > "$CACHE" |
10 | fi | 10 | fi |
11 | ) | 11 | ) |