From a2f540bcf3dcc099838c4e89efb95ba8695c55dd Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 26 Oct 2022 09:32:07 +0900 Subject: zsh: fix an issue where tmux-256color is not found in remote servers * Tmux inherits `$TERM` to the remote servers. * The remote hosts do not have `tmux-256color`. --- .zshrc | 1 + 1 file changed, 1 insertion(+) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index e80326d..acddcbd 100644 --- a/.zshrc +++ b/.zshrc @@ -378,6 +378,7 @@ alias cp='cp -i' alias mkdir='mkdir -p' alias mv='mv -i' alias rm="rm -i" +alias ssh='TERM=xterm-256color ssh' alias zmv='noglob zmv -W' alias fd='noglob fd' -- cgit v1.2.3-70-g09d2