herrdu / notes

0 stars 0 forks source link

Tmux 的正确使用姿势 #25

Open herrdu opened 2 years ago

herrdu commented 2 years ago

在服务器的 .bash_profile 中添加

[ "$TERM" != "dumb" ] && [ -z "$TMUX" ] && { tmux attach || tmux; }