Rename read_from_login_shell -> read_from_shell

This commit is contained in:
Kovid Goyal
2025-10-08 05:21:48 +05:30
parent 6879432704
commit 67ca9f5b7d
3 changed files with 4 additions and 4 deletions

View File

@@ -480,7 +480,7 @@ def setup_environment(opts: Options, cli_opts: CLIOptions) -> None:
if cli_opts.listen_on:
cli_opts.listen_on = expand_listen_on(cli_opts.listen_on, from_config_file)
path_from_shell = ''
if vars := opts.env.pop('read_from_login_shell', ''):
if vars := opts.env.pop('read_from_shell', ''):
import fnmatch
import re
senv = read_shell_environment(opts)