fix: critical elvish syntax errors for environment variables

pull/7608/head
Jason Rayne 2025-06-17 14:52:37 -07:00
parent af28763a34
commit 80475e1d17
No known key found for this signature in database
GPG Key ID: 097A1F6E614573B7
1 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@
fn ssh-term-only {|@args| fn ssh-term-only {|@args|
# Level: term-only - Just fix TERM compatibility # Level: term-only - Just fix TERM compatibility
if (eq "xterm-ghostty" $E:TERM) { if (eq "xterm-ghostty" $E:TERM) {
TERM=xterm-256color (external ssh) $@args (external env) TERM=xterm-256color ssh $@args
} else { } else {
(external ssh) $@args (external ssh) $@args
} }
@ -179,7 +179,7 @@
} }
# Normal SSH connection with Ghostty terminfo available # Normal SSH connection with Ghostty terminfo available
env $@env-vars ssh $@args (external env) $@env-vars ssh $@args
return return
} catch e { } catch e {
echo "Terminfo installation failed. Using basic integration." >&2 echo "Terminfo installation failed. Using basic integration." >&2