fix Tide context in OrbStack: set SSH_TTY when SSH_CONNECTION is present

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Anton Volnuhin 2026-03-03 23:39:59 +03:00
parent 07a50ab0a3
commit dfdd5b7dae

View File

@ -15,6 +15,11 @@ if test -S ~/.1password/agent.sock
set -gx SSH_AUTH_SOCK ~/.1password/agent.sock set -gx SSH_AUTH_SOCK ~/.1password/agent.sock
end end
# Make Tide show context for orb/SSH sessions that set SSH_CONNECTION but not SSH_TTY
if set -q SSH_CONNECTION; and not set -q SSH_TTY
set -gx SSH_TTY (tty)
end
# Commands to run in interactive sessions can go here # Commands to run in interactive sessions can go here
if status is-interactive if status is-interactive
if type -q atuin if type -q atuin