[xmonad] spawn command when no completion is available (if alwaysHighlight is True); changes commandToComplete in Prompt/Shell to complete the whole word instead of using getLastWord

Carlos López Camey c.lopez at kmels.net
Sat Feb 9 20:13:12 CET 2013


This small patch addresses
http://www.haskell.org/pipermail/xmonad/2013-February/013512.html.

The new behaviour also affects users that have alwaysHighlight set to
False (the default) in the following way:

 - "xterm -e emacs" autocompleted to e.g.
["emacs","emacs23","emacs-24.2",..] before (using the last word)
 - "xterm -e emacs" autocompletes to nothing now

which I'm not sure is a problem.

Best,

Carlos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shell-alwayshighlight-fix.d
Type: application/octet-stream
Size: 24112 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20130209/ecfa397b/attachment-0001.obj>


More information about the xmonad mailing list