mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-15 14:26:09 +00:00
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:

committed by
Mitchell Hashimoto

parent
c33ea2757c
commit
af77332871
@@ -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=()
|
||||||
|
Reference in New Issue
Block a user