whoops, wrong dmenu_path version
26236a49
1 file(s) · +1 −1
| 3 | 3 | IFS=: |
|
| 4 | 4 | ||
| 5 | 5 | if ! test -f "$CACHE" || find $PATH -type d -newer "$CACHE" | grep -q .; then |
|
| 6 | - | find $PATH -type f \( -perm -1 -o -perm -10 -o -perm -100 \) | sort -u > "$CACHE" |
|
| 6 | + | find $PATH -type f \( -perm -1 -o -perm -10 -o -perm -100 \) | sed 's/.*\///' | sort -u > "$CACHE" |
|
| 7 | 7 | fi |
|
| 8 | 8 | ||
| 9 | 9 | cat "$CACHE" |