From 174545011f95ff9ce875e4de2e4c2da05de1d77c Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Wed, 30 Oct 2024 23:21:43 +0100 Subject: [PATCH] chore: autostart zellij for neat tabs and panes --- .bashrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.bashrc b/.bashrc index e56f2bc..5c5f810 100644 --- a/.bashrc +++ b/.bashrc @@ -97,6 +97,12 @@ source $HOME/dotfiles/bin/1password-agent-bridge.sh # zoxide eval "$(zoxide init bash)" +# Check if we are running from zellij, if not then launch it +if [ -z "$ZELLIJ" ]; then + zellij + return +fi + # Display a welcome message for interactive shells if [ -t 1 ]; then dotf term