From a262f8d3fc22ed3a98e33281aabe2840f5bf8074 Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Wed, 11 Sep 2024 14:39:24 +0200 Subject: [PATCH] Add TMUX favorite commands to Bash --- dot_bashrc.tmpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dot_bashrc.tmpl b/dot_bashrc.tmpl index 2de7488..dd24437 100644 --- a/dot_bashrc.tmpl +++ b/dot_bashrc.tmpl @@ -111,7 +111,7 @@ function ssh() { fi # Change tmux title before connecting - set_tmux_title "SSH: $1" + set_tmux_title "SSH $1" # Run the actual ssh command with all arguments command ssh "$@" @@ -123,6 +123,11 @@ function ssh() { fi } +export FAVORITE_COMMAND1="{{ .tmux_favorite1 }}" +export FAVORITE_COMMAND2="{{ .tmux_favorite2 }}" +export FAVORITE_COMMAND3="{{ .tmux_favorite3 }}" +export FAVORITE_COMMAND4="{{ .tmux_favorite4 }}" + # --------------------------------------------------------------------------- # COMPLETIONS # ---------------------------------------------------------------------------