would it be easy to make xmonad.prompt.directory call itself on sucess?

Hello, all is said in the subject, I use use the changeDir prompt with the autocompletion,which is already an handy feature :) I wander what I should add in XMonad/Prompt/Directory.hs to make the changeDir prompt call itself on sucess after the autocompletion.I'm not a programmer so the ideas aren't springing on my keyboard for such questions.All that I've tried result in errors in building.

On Thu, Aug 6, 2009 at 6:33 AM, jean bonhomme
Hello, all is said in the subject, I use use the changeDir prompt with the autocompletion, which is already an handy feature :) I wander what I should add in XMonad/Prompt/Directory.hs to make the changeDir prompt call itself on sucess after the autocompletion. I'm not a programmer so the ideas aren't springing on my keyboard for such questions. All that I've tried result in errors in building.
I am unsure what you want. What does it mean for changeDir to 'call itself on success'? If you have changed directories to some directory, why would you want to change directories again? -- gwern
participants (2)
-
Gwern Branwen
-
jean bonhomme