From f4c1655fa3bae5f173e4d695b913f6450b1978e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Gr=C3=B6ger?= Date: Thu, 11 May 2023 23:04:11 +0200 Subject: [PATCH] fix attaching tmux-session --- .zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 05b97c9..65c1da1 100644 --- a/.zshrc +++ b/.zshrc @@ -143,7 +143,7 @@ if [ $? != 0 ]; then TMUX='' tmux new-session -s "default" -d fi if [[ -z "$TMUX" ]]; then - tmux attach-session -t "default" + tmux attach -t default else - tmux switch-client -t "default" + tmux switch-client -t default fi