ssh 進去顏色全跑掉?先看 $TERM,別急著罵終端機
ssh 會把本機 $TERM 原樣傳到遠端,遠端沒有對應 terminfo 就爆。kitty 用 kitten ssh、ghostty 用 +ssh 或手動 infocmp 送 terminfo;export TERM=xterm-256color 只是閹割能力的偏方。
ssh 會把本機 $TERM 原樣傳到遠端,遠端沒有對應 terminfo 就爆。kitty 用 kitten ssh、ghostty 用 +ssh 或手動 infocmp 送 terminfo;export TERM=xterm-256color 只是閹割能力的偏方。