From 0a17b3422564b2db4e9d03a86bf18f9cc59fa27f Mon Sep 17 00:00:00 2001 From: Asocia Date: Tue, 4 May 2021 14:35:02 +0300 Subject: [PATCH] Handle more than 2 terminals --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 0a85b48..59d6bf0 100644 --- a/.zshrc +++ b/.zshrc @@ -1,6 +1,6 @@ # Always start a tmux session when opening up terminal if type tmux &> /dev/null; then - session_name=${YAKUAKE:-Konsole} + session_name=${TERMINAL_NAME:-Terminal} #if not inside a tmux session, start a new session if [[ $HOST == "ubuntu" && -z "$TMUX" ]]; then (tmux -2 new-session -A -s $session_name || false)