diff --git a/dmenu_path b/dmenu_path
index 338bac4..ef67bd6 100644
--- a/dmenu_path
+++ b/dmenu_path
@@ -6,6 +6,7 @@ else
 	cache=$HOME/.dmenu_cache # if no xdg dir, fall back to dotfile in ~
 fi
 IFS=:
+set -f
 if stest -dqr -n "$cache" $PATH; then
 	stest -flx $PATH | sort -u | tee "$cache"
 else
