2015-08-02 18:29:01 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2021-08-22 07:31:30 -04:00
|
|
|
# Tmux command script.
|
2015-08-02 18:29:01 -04:00
|
|
|
# Scripts intended to be used via the command line are in `bin/` directory.
|
|
|
|
|
|
|
|
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
SCRIPTS_DIR="$CURRENT_DIR/../scripts"
|
2015-08-03 09:12:45 -04:00
|
|
|
HELPERS_DIR="$SCRIPTS_DIR/helpers"
|
2015-08-02 18:29:01 -04:00
|
|
|
|
2015-08-03 09:12:45 -04:00
|
|
|
source "$HELPERS_DIR/tmux_echo_functions.sh"
|
|
|
|
source "$HELPERS_DIR/tmux_utils.sh"
|
2015-08-02 18:29:01 -04:00
|
|
|
|
|
|
|
main() {
|
|
|
|
reload_tmux_environment
|
|
|
|
"$SCRIPTS_DIR/clean_plugins.sh" --tmux-echo >/dev/null 2>&1
|
|
|
|
reload_tmux_environment
|
|
|
|
end_message
|
|
|
|
}
|
|
|
|
main
|