Integration between Tmux and ZSH

This commit is contained in:
Fabio Scotto di Santolo
2025-07-31 00:19:25 +02:00
parent 23d6cc717b
commit fa33fb6a9b
4 changed files with 13 additions and 5 deletions

View File

@@ -127,3 +127,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