From 15b24ab9d782a8e5683f305ec8b1c31849a64246 Mon Sep 17 00:00:00 2001 From: Elizabeth Date: Mon, 19 May 2025 23:03:02 -0700 Subject: initial commit --- .../tpm/scripts/update_plugin_prompt_handler.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 tmux/.tmux/plugins/tpm/scripts/update_plugin_prompt_handler.sh (limited to 'tmux/.tmux/plugins/tpm/scripts/update_plugin_prompt_handler.sh') diff --git a/tmux/.tmux/plugins/tpm/scripts/update_plugin_prompt_handler.sh b/tmux/.tmux/plugins/tpm/scripts/update_plugin_prompt_handler.sh new file mode 100755 index 0000000..5e1f7d9 --- /dev/null +++ b/tmux/.tmux/plugins/tpm/scripts/update_plugin_prompt_handler.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +HELPERS_DIR="$CURRENT_DIR/helpers" + +if [ $# -eq 0 ]; then + exit 0 +fi + +source "$HELPERS_DIR/tmux_echo_functions.sh" +source "$HELPERS_DIR/tmux_utils.sh" + +main() { + "$CURRENT_DIR/update_plugin.sh" --tmux-echo "$*" + reload_tmux_environment + end_message +} +main "$*" -- cgit v1.2.3-70-g09d2