From 38a70f5b51189e03b4acdb7473177d1a037006ef Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 9 Mar 2022 15:31:19 +0530 Subject: [PATCH] ... --- kittens/ssh/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kittens/ssh/main.py b/kittens/ssh/main.py index 5efad6756..d64cb1663 100644 --- a/kittens/ssh/main.py +++ b/kittens/ssh/main.py @@ -412,7 +412,7 @@ def wrap_bootstrap_script(sh_script: str, interpreter: str) -> List[str]: # finally surrounding with ' es = "'" + sh_script.replace("'", '\v').replace('\\', '\f').replace('\n', '\r').replace('!', '\b') + "'" unwrap_script = r"""'eval "$(echo "$0" | tr \\\v\\\f\\\r\\\b \\\047\\\134\\\n\\\041)"' """ - # exec is supported by as sh like shells, and fish and csh + # exec is supported by all sh like shells, and fish and csh return ['exec', interpreter, '-c', unwrap_script, es]