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