File: update_plugin_prompt_handler.sh

package info (click to toggle)
tmux-plugin-manager 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 256 kB
  • sloc: sh: 940; exp: 167; makefile: 2
file content (18 lines) | stat: -rwxr-xr-x 346 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 "$*"