
18 Aug
2011
18 Aug
'11
12:46 p.m.
Dunric [2011.08.18 1102 +0200]:
Hi,
just took a peek into XMonad.Prompt.Shell source and found the cause of dysfunction. To get a list of possible command completions, shellPrompt makes use of bash internal function "compgen" but end of options mark (yes, it is the double-dash) is omitted. So if completion function is supplied with "--", bash call cannot finish because compgen expects another argument which never receives so it hangs.
Nice you figured this out. What's odd to me is that this as the source of the issue should be completely independent of the locale, yet it seems that the problem arises only in utf8 locales. Any ideas why that might be? N.