Fix utf-8 prompt
what
- Use special
bash
3.2+ feature for outputtingutf8
characters ($'\uXXXX'
) - Explicitly set locale (sorry, hardcoded to
en_US.utf8
)
why
- This seems to fix the prompt line wrapping problems
\[....\]
does not help withutf8
characters (onlyansi
)