]> git.armaanb.net Git - dmenu.git/commitdiff
whoops, wrong dmenu_path version
authorConnor Lane Smith <cls@lubutu.com>
Sat, 14 May 2011 21:12:28 +0000 (22:12 +0100)
committerConnor Lane Smith <cls@lubutu.com>
Sat, 14 May 2011 21:12:28 +0000 (22:12 +0100)
dmenu_path

index f3a47013addbf7eb7889ab4a7d12c6bffe257f9e..c1d3357708ae03ee8c3d03e605733cb3fd3daebf 100755 (executable)
@@ -3,7 +3,7 @@ CACHE=$HOME/.dmenu_cache
 IFS=:
 
 if ! test -f "$CACHE" || find $PATH -type d -newer "$CACHE" | grep -q .; then
-       find $PATH -type f \( -perm -1 -o -perm -10 -o -perm -100 \) | sort -u > "$CACHE"
+       find $PATH -type f \( -perm -1 -o -perm -10 -o -perm -100 \) | sed 's/.*\///' | sort -u > "$CACHE"
 fi
 
 cat "$CACHE"