From d8a0be92e10957d9bfdd01446f1b3b7016fba83f Mon Sep 17 00:00:00 2001 From: jay Date: Fri, 31 Dec 2021 18:12:04 +0800 Subject: [PATCH] [feat] add auto start tmux --- zshrc_zinit | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zshrc_zinit b/zshrc_zinit index 62f7888..1e8ad72 100644 --- a/zshrc_zinit +++ b/zshrc_zinit @@ -1,3 +1,7 @@ +export ZSH_TMUX_AUTOSTART=true +export ZSH_TMUX_AUTOSTART_ONCE=true +export ZSH_TMUX_AUTOCONNECT=true + # install zinit # git clone https://github.com/zdharma-continuum/zinit.git ~/.zinit/bin 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/git.zsh zinit snippet OMZ::lib/theme-and-appearance.zsh -zinit snippet OMZP::tmux zinit ice as="completion" zinit snippet OMZ::plugins/docker/_docker zinit snippet OMZP::composer @@ -27,6 +30,8 @@ zinit snippet OMZ::plugins/git/git.plugin.zsh # Load OMZ extract folder zinit ice svn zinit snippet OMZ::plugins/extract +zinit ice svn +zinit snippet OMZ::plugins/tmux # auto load other zshfiles [ -f "$HOME/.zsh/zsh.sh" ] && source "$HOME/.zsh/zsh.sh"