[xmonad] Issue 300 in xmonad: XMonad.Prompt.Shell doesn't escape ampersands in tab completed file names.

codesite-noreply at google.com codesite-noreply at google.com
Wed Jun 10 08:21:36 EDT 2009


Comment #2 on issue 300 by gwern0: XMonad.Prompt.Shell doesn't escape  
ampersands in tab completed file names.
http://code.google.com/p/xmonad/issues/detail?id=300

This is actually already fixed in darcs, I think.

Thu Mar 12 05:13:14 EDT 2009  Valery V. Vorotyntsev <valery.vv at gmail.com>
   * Prompt.Shell: escape ampersand

   Ampersand (&) is a special character and should be escaped.
     {
     hunk ./XMonad/Prompt/Shell.hs 121
     -escape (' ':xs) = "\\ " ++ escape xs
     hunk ./XMonad/Prompt/Shell.hs 126
     -isSpecialChar =  flip elem "\\@\"'#?$*()[]{};"
     +isSpecialChar =  flip elem " &\\@\"'#?$*()[]{};"
     }


--
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:
http://code.google.com/hosting/settings


More information about the xmonad mailing list