mark ssh shell-integration wrapper as a function this matches other features + fixes a case where users alias to some other command

This commit is contained in:
rhodes-b
2025-09-15 21:49:48 -05:00
committed by Mitchell Hashimoto
parent c33ea2757c
commit af77332871

View File

@@ -103,7 +103,7 @@ fi
# SSH Integration # SSH Integration
if [[ "$GHOSTTY_SHELL_FEATURES" == *ssh-* ]]; then if [[ "$GHOSTTY_SHELL_FEATURES" == *ssh-* ]]; then
ssh() { function ssh() {
builtin local ssh_term ssh_opts builtin local ssh_term ssh_opts
ssh_term="xterm-256color" ssh_term="xterm-256color"
ssh_opts=() ssh_opts=()