diff options
-rwxr-xr-x | dmenu_path | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -9,7 +9,8 @@ config="$configdir/dmenu_omitlist" [ ! -e "$configdir" ] && mkdir -p "$configdir" IFS=: -if stest -dqr -n "$cache" $PATH; then + +if stest -dqr -n "$cache" $PATH || [ "$config" -nt "$cache" ]; then stest -flx $PATH | sort -u | grep -wvF -f $config | tee "$cache" else cat "$cache" |