diff options
-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 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 | fi | 7 | fi |
8 | 8 | ||
9 | cat "$CACHE" | 9 | cat "$CACHE" |