I just switched from dmenu to the contrib prompt, only thing to look out for is that the <i>searchPredicate</i> function of the <i>XPConfig</i> doesn&#x27;t actually seem to do anything.<p>Setting:<p><pre><code>  searchPredicate :: String -&gt; String -&gt; Bool
  searchPredicate = \_ _ -&gt; False
</code></pre>
seems to make no difference.<p>And the default is:<p><pre><code>  searchPredicate = isPrefixOf

</code></pre>
Patching and recompiling with this patch[1] mentioned here[2] seems to fix the issue.<p>[1]: <a href="https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;xmonad&#x2F;issues&#x2F;attachmentText?id=393&amp;aid=3930005000&amp;name=shell-compl_predicate.patch&amp;token=ABZ6GAfgBm0bpLu0E74YtfArOYfYc2QLdQ%3A1447596010634" rel="nofollow">https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;xmonad&#x2F;issues&#x2F;attachmentText?id=39...</a>
[2]: <a href="https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;xmonad&#x2F;issues&#x2F;detail?id=393" rel="nofollow">https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;xmonad&#x2F;issues&#x2F;detail?id=393</a>