mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 04:13:44 +00:00
...
This commit is contained in:
parent
118306a9ff
commit
38a70f5b51
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue