Remove backslash escaping on zsh and fish

This commit is contained in:
ZyX 2014-01-26 21:44:32 +04:00
parent e3bf63e55c
commit 9edee8ad11
2 changed files with 1 additions and 1 deletions

View File

@ -13,6 +13,7 @@ class BashPromptRenderer(ShellRenderer):
character_translations = ShellRenderer.character_translations.copy()
character_translations[ord('$')] = '\\$'
character_translations[ord('`')] = '\\`'
character_translations[ord('\\')] = '\\\\'
renderer = BashPromptRenderer

View File

@ -22,7 +22,6 @@ class ShellRenderer(Renderer):
screen_escape = False
character_translations = Renderer.character_translations.copy()
character_translations[ord('\\')] = '\\\\'
def hlstyle(self, fg=None, bg=None, attr=None):
'''Highlight a segment.