From 83d9abae43eeb785ad13a727ed4bea8f97a2d4a6 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Sun, 16 Aug 2020 18:50:09 +0200 Subject: [PATCH] Added function for tmux ssh title --- dotfiles/zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index accf82c..9fd2675 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -157,3 +157,11 @@ source ~/.aliases.private neofetch dh + +ssh() { + tmux rename-window "$*" + command ssh "$@" +# echo "Counting to 60" +# sleep 60 && exit + tmux rename-window "zsh" +}