fish: set TERM when running ssh

This commit is contained in:
Leonardo Eugênio 2026-02-22 09:41:46 -03:00
parent c70164709e
commit 030853eef1

View file

@ -43,6 +43,14 @@ in
echo "Exported key $export[1]" echo "Exported key $export[1]"
end end
end end
function ssh
if test "$TERM" = "alacritty"
env TERM=xterm-256color ssh $argv
else
env ssh $argv
end
end
''; '';
shellAliases = { shellAliases = {
rm = "trash"; rm = "trash";