aboutsummaryrefslogtreecommitdiff
path: root/plugins/tpm/bindings/clean_plugins
blob: 9a0d5d7a074e1b5ec7f28db82923d95686db93fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash

# Tmux key-binding script.
# 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"
HELPERS_DIR="$SCRIPTS_DIR/helpers"

source "$HELPERS_DIR/tmux_echo_functions.sh"
source "$HELPERS_DIR/tmux_utils.sh"

main() {
	reload_tmux_environment
	"$SCRIPTS_DIR/clean_plugins.sh" --tmux-echo >/dev/null 2>&1
	reload_tmux_environment
	end_message
}
main