diff options
author | Cody Hiar <codyfh@gmail.com> | 2017-02-13 09:54:26 -0700 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2017-02-13 09:54:26 -0700 |
commit | 783ab79ab721593b0ac85ab4d8ea9b74fa5fe72e (patch) | |
tree | 03ac1d680ab401874ed95a78887c56d6eb268a61 /plugins/tpm/scripts/update_plugin_prompt_handler.sh | |
parent | 2eede125238144e9d37cf856aaaeda3c5de5aab3 (diff) |
Adding tpm
Diffstat (limited to 'plugins/tpm/scripts/update_plugin_prompt_handler.sh')
-rwxr-xr-x | plugins/tpm/scripts/update_plugin_prompt_handler.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/tpm/scripts/update_plugin_prompt_handler.sh b/plugins/tpm/scripts/update_plugin_prompt_handler.sh new file mode 100755 index 0000000..5e1f7d9 --- /dev/null +++ b/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 "$*" |