Dont fail to start if running the shell to read the EDITOR env var fails

Fixes #1869
This commit is contained in:
Kovid Goyal 2019-07-31 06:37:17 +05:30
parent cc06104be6
commit 6958ded4c4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 10 additions and 0 deletions

View File

@ -4,6 +4,13 @@ Changelog
|kitty| is a feature full, cross-platform, *fast*, GPU based terminal emulator.
To update |kitty|, :doc:`follow the instructions <binary>`.
0.14.4 [future]
---------------------
- Dont fail to start if running the shell to read the EDITOR env var fails
(:iss:`1869`)
0.14.3 [2019-07-29]
---------------------

View File

@ -217,6 +217,9 @@ def read_shell_environment(opts):
k, v = line.partition('=')[::2]
if k and v:
ans[k] = v
else:
log_error('Failed to run shell to read its environment')
read_shell_environment.ans = {}
return read_shell_environment.ans