2015-08-01 18:41:06 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
2015-08-03 09:12:45 -04:00
|
|
|
HELPERS_DIR="$CURRENT_DIR/helpers"
|
2015-08-01 18:41:06 -04:00
|
|
|
|
2015-08-02 19:22:06 -04:00
|
|
|
if [ $# -eq 0 ]; then
|
2015-08-01 18:41:06 -04:00
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
2015-08-03 09:12:45 -04:00
|
|
|
source "$HELPERS_DIR/tmux_echo_functions.sh"
|
|
|
|
source "$HELPERS_DIR/tmux_utils.sh"
|
2015-08-01 18:41:06 -04:00
|
|
|
|
|
|
|
main() {
|
|
|
|
"$CURRENT_DIR/update_plugin.sh" --tmux-echo "$*"
|
|
|
|
reload_tmux_environment
|
|
|
|
end_message
|
|
|
|
}
|
|
|
|
main "$*"
|