From f23208590edd74592f5137096d34ab3ad277bade Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0tefan=20Bystriansky?= Date: Sat, 14 Jan 2023 21:56:33 +0100 Subject: [PATCH] auto tmux --- .bashrc | 4 ++-- .tmux.auto | 0 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 .tmux.auto diff --git a/.bashrc b/.bashrc index 99c56b8..55c1145 100644 --- a/.bashrc +++ b/.bashrc @@ -146,8 +146,8 @@ fi -##TMUX -if [ -f ~/.tmux.conf ]; then +##TMUX pre automatické spustenie -> touch ~/.tmux.auto +if [ -f ~/.tmux.auto ]; then test -z "$TMUX" && (tmux attach || tmux new-session) fi diff --git a/.tmux.auto b/.tmux.auto new file mode 100644 index 0000000..e69de29