Integration between Tmux and ZSH

This commit is contained in:
Fabio Scotto di Santolo
2025-07-31 00:19:25 +02:00
parent 2cb2c3d689
commit 2f8ffe9e24
4 changed files with 104 additions and 3 deletions

View File

@@ -126,3 +126,6 @@ source <(fzf --zsh)
source "$FZF_HOME/shell/key-bindings.zsh"
source "$FZF_HOME/shell/completion.zsh"
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
tmux attach-session -t default || tmux new-session -s default
fi