dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Fix Non-Printing Characters Escaped Twice

Open tuzhucheng opened this issue 8 years ago • 0 comments

\[ and \] means:

everything between these escaped square brackets, including the brackets themselves, is a non-printing character.

Line 132 and line 134 where userStyle and hostStyle are used respectively already have the square bracket escapes, but the definitions also contain square brackets. They are escaped twice. I believe this is incorrect. I see weird characters in the bash prompt before this change, and they disappear after this change.

Screenshot available upon request, thanks.

tuzhucheng avatar Aug 30 '15 06:08 tuzhucheng