use inherited instead of inherit
This commit is contained in:
parent
482b853908
commit
31b01d42c0
@ -78,7 +78,7 @@ def make_tarfile(ssh_opts: SSHOptions, base_env: Dict[str, str]) -> bytes:
|
|||||||
return filter
|
return filter
|
||||||
|
|
||||||
from kitty.shell_integration import get_effective_ksi_env_var
|
from kitty.shell_integration import get_effective_ksi_env_var
|
||||||
if ssh_opts.shell_integration == 'inherit':
|
if ssh_opts.shell_integration == 'inherited':
|
||||||
ksi = get_effective_ksi_env_var()
|
ksi = get_effective_ksi_env_var()
|
||||||
else:
|
else:
|
||||||
from kitty.options.types import Options
|
from kitty.options.types import Options
|
||||||
|
|||||||
@ -85,9 +85,9 @@ are installed. The location is relative to the HOME directory. Absolute paths or
|
|||||||
that resolve to a location outside the HOME are not allowed.
|
that resolve to a location outside the HOME are not allowed.
|
||||||
''')
|
''')
|
||||||
|
|
||||||
opt('shell_integration', 'inherit', long_text='''
|
opt('shell_integration', 'inherited', long_text='''
|
||||||
Control the shell integration on the remote host. See :ref:`shell_integration`
|
Control the shell integration on the remote host. See :ref:`shell_integration`
|
||||||
for details on how this setting works. The special value :code:`inherit` means
|
for details on how this setting works. The special value :code:`inherited` means
|
||||||
use the setting from kitty.conf. This setting is useful for overriding
|
use the setting from kitty.conf. This setting is useful for overriding
|
||||||
integration on a per-host basis.''')
|
integration on a per-host basis.''')
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@ class Options:
|
|||||||
interpreter: str = 'sh'
|
interpreter: str = 'sh'
|
||||||
login_shell: str = ''
|
login_shell: str = ''
|
||||||
remote_dir: str = '.local/share/kitty-ssh-kitten'
|
remote_dir: str = '.local/share/kitty-ssh-kitten'
|
||||||
shell_integration: str = 'inherit'
|
shell_integration: str = 'inherited'
|
||||||
copy: typing.Dict[str, kittens.ssh.copy.CopyInstruction] = {}
|
copy: typing.Dict[str, kittens.ssh.copy.CopyInstruction] = {}
|
||||||
env: typing.Dict[str, str] = {}
|
env: typing.Dict[str, str] = {}
|
||||||
config_paths: typing.Tuple[str, ...] = ()
|
config_paths: typing.Tuple[str, ...] = ()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user