Helper functions refactoring

This commit is contained in:
Bruno Sutic
2015-08-03 15:12:45 +02:00
parent eab403b6d8
commit 5adc9a987f
11 changed files with 59 additions and 97 deletions

View File

@ -1,12 +1,14 @@
#!/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 "$CURRENT_DIR/shared_functions.sh"
source "$HELPERS_DIR/tmux_echo_functions.sh"
source "$HELPERS_DIR/tmux_utils.sh"
main() {
"$CURRENT_DIR/update_plugin.sh" --tmux-echo "$*"