[feat] add auto start tmux

This commit is contained in:
jay 2021-12-31 18:12:04 +08:00
parent cf3affa883
commit d8a0be92e1

View File

@ -1,3 +1,7 @@
export ZSH_TMUX_AUTOSTART=true
export ZSH_TMUX_AUTOSTART_ONCE=true
export ZSH_TMUX_AUTOCONNECT=true
# install zinit # install zinit
# git clone https://github.com/zdharma-continuum/zinit.git ~/.zinit/bin # git clone https://github.com/zdharma-continuum/zinit.git ~/.zinit/bin
source ~/.zinit/bin/zinit.zsh source ~/.zinit/bin/zinit.zsh
@ -16,7 +20,6 @@ zinit light mattbangert/kubectl-zsh-plugin
zinit snippet OMZ::lib/completion.zsh zinit snippet OMZ::lib/completion.zsh
zinit snippet OMZ::lib/git.zsh zinit snippet OMZ::lib/git.zsh
zinit snippet OMZ::lib/theme-and-appearance.zsh zinit snippet OMZ::lib/theme-and-appearance.zsh
zinit snippet OMZP::tmux
zinit ice as="completion" zinit ice as="completion"
zinit snippet OMZ::plugins/docker/_docker zinit snippet OMZ::plugins/docker/_docker
zinit snippet OMZP::composer zinit snippet OMZP::composer
@ -27,6 +30,8 @@ zinit snippet OMZ::plugins/git/git.plugin.zsh
# Load OMZ extract folder # Load OMZ extract folder
zinit ice svn zinit ice svn
zinit snippet OMZ::plugins/extract zinit snippet OMZ::plugins/extract
zinit ice svn
zinit snippet OMZ::plugins/tmux
# auto load other zshfiles # auto load other zshfiles
[ -f "$HOME/.zsh/zsh.sh" ] && source "$HOME/.zsh/zsh.sh" [ -f "$HOME/.zsh/zsh.sh" ] && source "$HOME/.zsh/zsh.sh"