mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
Make commandToComplete in XMonad.Prompt.Shell complete last word
The following change from 2013-02-09 breaks shell completion for me: hunk ./XMonad/Prompt/Shell.hs 65 + commandToComplete _ c = c It seems to be passing the entire string into compgen in order to get the file completions, but it should only pass the last word. I propose reverting this change. Comments are appreciated.
This commit is contained in:
parent
35ed0601f4
commit
9403542db0
@ -62,7 +62,6 @@ data Shell = Shell
|
||||
instance XPrompt Shell where
|
||||
showXPrompt Shell = "Run: "
|
||||
completionToCommand _ = escape
|
||||
commandToComplete _ c = c
|
||||
|
||||
shellPrompt :: XPConfig -> X ()
|
||||
shellPrompt c = do
|
||||
|
Loading…
x
Reference in New Issue
Block a user