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:
parent
07a50ab0a3
commit
dfdd5b7dae
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user