diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-07-05 12:51:01 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-07-05 13:00:20 +1200 |
commit | ba883a5f183edaaa440eb1a41cb6dbd595d55a87 (patch) | |
tree | 23f3c3d8e937ef6b2dd045c1d2dfc9cd1194fd48 /sh | |
parent | Escape backslashes in command prompt output (diff) | |
download | dotfiles-ba883a5f183edaaa440eb1a41cb6dbd595d55a87.tar.gz dotfiles-ba883a5f183edaaa440eb1a41cb6dbd595d55a87.zip |
Escape % signs in prompt command output
The Zsh analogue of fd2b6fd. This one matters a bit more, as e.g.
"%test" is a legal Git branch name.
A generic fix for this for Korn shell will be tough, as some of them
seem to use backslash escape sequences and others don't. None of the
prompt commands *should* emit backslashes, and it doesn't allow remote
execution, so I might just leave that.
Diffstat (limited to 'sh')
0 files changed, 0 insertions, 0 deletions