refactor: simplify ssh integration environment variable checks

This commit is contained in:
Jason Rayne
2025-06-16 09:53:22 -07:00
parent 34af3ffbaf
commit 2babdb458f
4 changed files with 5 additions and 5 deletions

View File

@@ -103,7 +103,7 @@ if [[ "$GHOSTTY_SHELL_FEATURES" == *"sudo"* && -n "$TERMINFO" ]]; then
}
fi
if [[ -n "$GHOSTTY_SSH_INTEGRATION" && "$GHOSTTY_SSH_INTEGRATION" != "off" ]]; then
if [[ -n "$GHOSTTY_SSH_INTEGRATION" ]]; then
# Wrap `ssh` command to provide Ghostty SSH integration.
#
# This approach supports wrapping an `ssh` alias, but the alias definition