diff options
| author | Connor Lane Smith <cls@lubutu.com> | 2011-06-13 19:28:30 +0100 |
|---|---|---|
| committer | Connor Lane Smith <cls@lubutu.com> | 2011-06-13 19:28:30 +0100 |
| commit | ab3bcac0bf42c1e63367a0f319a66524d5acdfe3 (patch) | |
| tree | 6da0eb7147a6d4bc6ca7165d038c75cfe281b090 /dmenu_path | |
| parent | 723cbabc122292cc87474fd203e199e392206640 (diff) | |
new lsx branch
Diffstat (limited to 'dmenu_path')
| -rwxr-xr-x | dmenu_path | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -3,7 +3,7 @@ CACHE=$HOME/.dmenu_cache | |||
| 3 | IFS=: | 3 | IFS=: |
| 4 | 4 | ||
| 5 | if ! test -f "$CACHE" || find $PATH -type d -newer "$CACHE" | grep -q .; then | 5 | if ! test -f "$CACHE" || find $PATH -type d -newer "$CACHE" | grep -q .; then |
| 6 | find $PATH ! -type d \( -perm -1 -o -perm -10 -o -perm -100 \) | sed 's/.*\///' | sort -u > "$CACHE" | 6 | lsx $PATH | sort -u > "$CACHE" |
| 7 | fi | 7 | fi |
| 8 | 8 | ||
| 9 | cat "$CACHE" | 9 | cat "$CACHE" |
