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'