From 2a0945c68f29ea1c9d78f0e324155f60c8acca20 Mon Sep 17 00:00:00 2001 From: Chen Asraf Date: Thu, 22 Jan 2026 22:48:52 +0200 Subject: [PATCH] feat(tmux): update ta alias --- aliases.zsh | 1 - plugins/common/tmux.zsh | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 plugins/common/tmux.zsh diff --git a/aliases.zsh b/aliases.zsh index 71438620..b606e6b2 100755 --- a/aliases.zsh +++ b/aliases.zsh @@ -108,7 +108,6 @@ alias ldc="lazydocker" alias tmux="tmux -f ~/.config/tmux/conf.tmux" alias tn="tmux new" alias tns="tmux new -s" -alias ta="tmux attach" alias tas="tmux attach -t" alias tlw="tmux list-windows" alias trl="tmux source-file ~/.config/tmux/conf.tmux" diff --git a/plugins/common/tmux.zsh b/plugins/common/tmux.zsh new file mode 100644 index 00000000..779ad072 --- /dev/null +++ b/plugins/common/tmux.zsh @@ -0,0 +1,3 @@ +#!/usr/bin/env zsh + +ta() { [[ -n "$1" ]] && tmux attach -t "$1" || tmux attach; }