From 65a85ed991ad22eb4c9b5f0ed33a85bffaf5d64b Mon Sep 17 00:00:00 2001 From: Tine Jozelj Date: Sat, 15 Jan 2022 20:07:12 +0100 Subject: [PATCH] feat: only start tmux in kitty --- zsh/zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index cdf619b..d249319 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -19,6 +19,14 @@ if ! zplug check --verbose; then echo; zplug install fi fi + +# If not kitty +# Then don't start tmux. +if [[ -z $KITTY_PID ]]; +then + export ZSH_TMUX_AUTOSTART=false +fi + zplug load # History improvements