zsh带有tmux提示
需要加下zsh
plugins=(
zsh-autosuggestions git go autojump yarn npm tmux
)
推荐几个好用插件
zsh-history-substring-search
https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/history-substring-search
zsh-syntax-highlighting
https://github.com/zsh-users/zsh-syntax-highlighting
zsh-autosuggestions
https://github.com/zsh-users/zsh-autosuggestions
配置终端默认启动tmux
要将终端配置为默认自动启动tmux ,请将以下行添加到~/.bashrc启动文件中,位于别名部分的上方。
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
tmux attach -t default || tmux new -s default
fi
管理tmux工具 重启保存
https://github.com/tmux-plugins/tmux-continuum
网友评论