From 7dc3dfa5323c2f06819790bf7863055c7a656d8713409ad2380d519071ed26bf Mon Sep 17 00:00:00 2001 From: Philipp Date: Tue, 9 Jul 2024 22:42:27 +0200 Subject: [PATCH] launch tmux on opening terminal emulator on desktop --- zsh/.zshrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 3871fc2..07ace62 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -70,7 +70,12 @@ ZSH_THEME="obraun" # Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(git) +plugins=(git tmux) + +# Spawn tmux shell if its my pc +if [ $HOST = "bodenheizung" ]; then + ZSH_TMUX_AUTOSTART=true +fi source $ZSH/oh-my-zsh.sh