mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-09 15:08:13 +02:00
Only dump env var names not values
This commit is contained in:
@@ -215,8 +215,6 @@ def debug_config(opts: KittyOpts) -> str:
|
||||
p(' ', '\n '.join(opts.config_overrides))
|
||||
compare_opts(opts, p)
|
||||
p()
|
||||
p(green('Environment variables seen by the kitty process:'))
|
||||
ml = max(map(len, os.environ)) if os.environ else 5
|
||||
for k, v in os.environ.items():
|
||||
p(k.ljust(ml), styled(repr(v), dim=True))
|
||||
p(green('Environment variable names seen by the kitty process:'))
|
||||
p('\t' + '\n\t'.join(sorted(os.environ)))
|
||||
return out.getvalue()
|
||||
|
||||
Reference in New Issue
Block a user