5 ms·
I just switched from dmenu to the contrib prompt, only thing to look out for is that the searchPredicate function of the XPConfig doesn't actually seem to do an
by Arguggi 11y ago
I just switched from dmenu to the contrib prompt, only thing to look out for is that the searchPredicate function of the XPConfig doesn't actually seem to do anything.
Setting:
searchPredicate :: String -> String -> Bool
searchPredicate = \_ _ -> False
seems to make no difference.
And the default is:
searchPredicate = isPrefixOf
Patching and recompiling with this patch[1] mentioned here[2] seems to fix the issue.
[1]: https://code.google.com/p/xmonad/issues/attachmentText?id=393&aid=3930005000&name=shell-compl_predicate.patch&token=ABZ6GAfgBm0bpLu0E74YtfArOYfYc2QLdQ%3A1447596010634 https://code.google.com/p/xmonad/issues/attachmentText?id=39...
[2]: https://code.google.com/p/xmonad/issues/detail?id=393 https://code.google.com/p/xmonad/issues/detail?id=393
- cm3 11y agoCare to resubmit that patch at https://github.com/xmonad/xmonad-contrib https://github.com/xmonad/xmonad-contrib? That way it can be part of the 0.12 release.