From 3a1e2aded663a62a5e25e14379c39cefce38ad0b Mon Sep 17 00:00:00 2001 From: Reboot-Codes Date: Thu, 8 May 2025 17:07:02 -0700 Subject: [PATCH] Ggghrg, ssh. --- common/home/dotfiles/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/home/dotfiles/.zshrc b/common/home/dotfiles/.zshrc index 7d5e7ad..ada64ac 100644 --- a/common/home/dotfiles/.zshrc +++ b/common/home/dotfiles/.zshrc @@ -99,7 +99,7 @@ PATH="$PATH:." if [[ $- == *i* ]]; then # Runs tmux on ssh conn, see: https://stackoverflow.com/a/40192494 if [[ $- =~ i ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_TTY" ]]; then - tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux + alias con-tmux="tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux" fi fastfetch -- 2.51.2