fix: critical elvish syntax errors for environment variables
parent
af28763a34
commit
80475e1d17
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue