[xmonad] Issue 393 in xmonad: XMonad.Prompt.Shell should use user-defined searchPredicate

codesite-noreply at google.com codesite-noreply at google.com
Wed Apr 28 07:38:26 EDT 2010

Status: New
Owner: ----

New issue 393 by hgabreu: XMonad.Prompt.Shell should use user-defined  

What steps will reproduce the problem?
1. Set-up XMonad.Prompt.Shell with defaulXPConfig changing the
searchPredicate to something else. e.g. \x y -> map toLower x `isPrefixOf`
map toLower y
2. run your prompt, start typing anything to see that your searchPredicate
is ignored. In the above example case IS ignored, so typing 'VI' should
show 'vi' or 'vim' on the list, but they're not.

What version of the product are you using? On what operating system?
latest darcs on up-to-date Archlinux x86_64

Are you using an xmonad.hs?  Please attach it and the output of "xmonad
recompile prints nothing and my cluttered xmonad.hs is attached but only
line 166 is related (which is a keybind to X.A.SpawnOn shellPromptHere).

Please provide any additional information below.
X.P.Shell also completes filenames using bash's compgen, it should respect
user's setting (~/.inputrc) telling it to ignore-case (set completion-
ignore-case on). But that's another problem, I'm just complaining about
command completion for now.

	xmonad.hs  16.3 KB

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

More information about the xmonad mailing list