Fix tcsh escaping
`!` gets expanded to the prompt count, so it needs to be escaped.
This commit is contained in:
parent
c949f4ce95
commit
c8286e96b0
|
@ -10,6 +10,7 @@ class TcshPromptRenderer(ZshPromptRenderer):
|
|||
character_translations[ord('%')] = '%%'
|
||||
character_translations[ord('\\')] = '\\\\'
|
||||
character_translations[ord('^')] = '\\^'
|
||||
character_translations[ord('!')] = '\\!'
|
||||
|
||||
|
||||
renderer = TcshPromptRenderer
|
||||
|
|
Loading…
Reference in New Issue