From 0a2162532d243cbcdc3f624881efcec390c64e52 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 1 Feb 2024 00:49:33 +0300 Subject: [PATCH] Seems that TERM=xterm is seldom required --- ssh/.zsh/functions/ssht | 2 +- ssh/.zsh/rc/010ssh.zsh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ssh/.zsh/functions/ssht b/ssh/.zsh/functions/ssht index ec05024..f747749 100644 --- a/ssh/.zsh/functions/ssht +++ b/ssh/.zsh/functions/ssht @@ -1,2 +1,2 @@ local t="-t 0" -TERM=xterm ssh -C -t $1 "export LANG=en_US.UTF-8 ; tmux has-session $t && tmux attach-session $t || tmux new-session $t" +ssh -C -t $1 "export LANG=en_US.UTF-8 ; tmux has-session $t && tmux attach-session $t || tmux new-session $t" diff --git a/ssh/.zsh/rc/010ssh.zsh b/ssh/.zsh/rc/010ssh.zsh index 81e8118..72f7316 100644 --- a/ssh/.zsh/rc/010ssh.zsh +++ b/ssh/.zsh/rc/010ssh.zsh @@ -1,2 +1 @@ -alias ssh="TERM=xterm ssh" alias sshnm="ssh -S none" -- 2.44.0