pinosaur
/
dmenu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a662fc6
)
only match links
author
Connor Lane Smith
<cls@lubutu.com>
Sat, 14 May 2011 22:21:38 +0000
(23:21 +0100)
committer
Connor Lane Smith
<cls@lubutu.com>
Sat, 14 May 2011 22:21:38 +0000
(23:21 +0100)
dmenu_path
patch
|
blob
|
history
diff --git
a/dmenu_path
b/dmenu_path
index
59fe64d
..
1b1b241
100755
(executable)
--- a/
dmenu_path
+++ b/
dmenu_path
@@
-3,7
+3,7
@@
CACHE=$HOME/.dmenu_cache
IFS=:
if ! test -f "$CACHE" || find $PATH -type d -newer "$CACHE" | grep -q .; then
- find
-L $PATH -type f
\( -perm -1 -o -perm -10 -o -perm -100 \) | sed 's/.*\///' | sort -u > "$CACHE"
+ find
$PATH ! -type d
\( -perm -1 -o -perm -10 -o -perm -100 \) | sed 's/.*\///' | sort -u > "$CACHE"
fi
cat "$CACHE"