From 5558c0e30b9e78cf1838f0465e78ada4bdd30302 Mon Sep 17 00:00:00 2001 From: Jonas Haugesen Date: Tue, 24 Mar 2026 09:11:21 +0100 Subject: [PATCH] tmux moshi --- zshrc/.zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zshrc/.zshrc b/zshrc/.zshrc index 2144bc5..1415dc0 100644 --- a/zshrc/.zshrc +++ b/zshrc/.zshrc @@ -56,3 +56,8 @@ eval "$(pyenv init - zsh)" eval "$(starship init zsh)" eval "$(zoxide init zsh)" + +# Attach to or create tmux session 'moshi' if tmux is installed and not already inside tmux +if command -v tmux &>/dev/null && [ -z "$TMUX" ]; then + tmux new-session -As moshi +fi