tmux mods

This commit is contained in:
2024-04-23 23:35:57 +02:00
parent f6d38a67ac
commit 21a1fd09d5
2 changed files with 23 additions and 2 deletions

View File

@@ -39,8 +39,7 @@ in {
[[ ! -f ${./p10k.zsh} ]] || source ${./p10k.zsh}
eval "$(zoxide init --cmd cd zsh)"
if [ -x "$(command -v tmux)" ] && [ -n "$DISPLAY" ] && [ -z "$TMUX" ]; then
# exec tmux new-session -A -s $USER >/dev/null 2>&1
exec tmux new -AD -t main -s main
exec tmux new-session -A -s $USER >/dev/null 2>&1
fi
'';
};