mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-11-10 20:35:13 +01:00
Add TMUX favorite commands to Bash
This commit is contained in:
+6
-1
@@ -111,7 +111,7 @@ function ssh() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Change tmux title before connecting
|
# Change tmux title before connecting
|
||||||
set_tmux_title "SSH: $1"
|
set_tmux_title "SSH $1"
|
||||||
|
|
||||||
# Run the actual ssh command with all arguments
|
# Run the actual ssh command with all arguments
|
||||||
command ssh "$@"
|
command ssh "$@"
|
||||||
@@ -123,6 +123,11 @@ function ssh() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export FAVORITE_COMMAND1="{{ .tmux_favorite1 }}"
|
||||||
|
export FAVORITE_COMMAND2="{{ .tmux_favorite2 }}"
|
||||||
|
export FAVORITE_COMMAND3="{{ .tmux_favorite3 }}"
|
||||||
|
export FAVORITE_COMMAND4="{{ .tmux_favorite4 }}"
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# COMPLETIONS
|
# COMPLETIONS
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user