From 0e2194d2ab916ad8fcfa88307028fe5219a7e160 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 20 Feb 2023 15:29:37 -0600 Subject: [PATCH] fix fix fix --- home/private_dot_config/zsh/functions/ta | 4 ---- home/private_dot_config/zsh/zexists.d/cmd/tmux.zsh | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 home/private_dot_config/zsh/functions/ta diff --git a/home/private_dot_config/zsh/functions/ta b/home/private_dot_config/zsh/functions/ta deleted file mode 100644 index 2f8c0cd..0000000 --- a/home/private_dot_config/zsh/functions/ta +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env zsh - -tmux attach -t "$@" || tmux new-session -s "$@" - diff --git a/home/private_dot_config/zsh/zexists.d/cmd/tmux.zsh b/home/private_dot_config/zsh/zexists.d/cmd/tmux.zsh index 3e58d9e..87af9c2 100644 --- a/home/private_dot_config/zsh/zexists.d/cmd/tmux.zsh +++ b/home/private_dot_config/zsh/zexists.d/cmd/tmux.zsh @@ -1,7 +1,8 @@ alias t-labbook="$DOTFILES_DIR/tmux/labbook.sh" # source custom tmux.conf with older tmux -alias tmux="tmux -f ~/.config/tmux/tmux.conf" +alias tmux="tmux -f $HOME/.config/tmux/tmux.conf" alias t='tmux' +alias ta='tmux attach -t' alias tn='tmux new-session' alias tl='tmux list-sessions'