From ae10b1a5840d9f685f39e846983e32094e95641c Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Wed, 15 Jun 2022 11:07:43 -0400 Subject: [PATCH] ENH add tmux aliases --- dot_config/zsh/dot_zshrc.tmpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dot_config/zsh/dot_zshrc.tmpl b/dot_config/zsh/dot_zshrc.tmpl index c6c11aa..fc81a39 100644 --- a/dot_config/zsh/dot_zshrc.tmpl +++ b/dot_config/zsh/dot_zshrc.tmpl @@ -323,6 +323,11 @@ alias_if git \ gnew="git log HEAD@{1}..HEAD@{0}" \ ggui="git gui" +alias_if tmux | + tls='tmux ls' \ + tks='tmux kill-session -t' \ + tas='tmux attach-session -t' + alias_if chezmoi \ cze="chezmoi edit" \ czea="chezmoi edit --apply" \