Enable removing plugins via CLI executable

This commit is contained in:
Bruno Sutic
2015-08-03 00:29:01 +02:00
parent b2a2581a6a
commit 19da205b0b
7 changed files with 107 additions and 12 deletions

14
bin/clean_plugins Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Script intended for use via the command line.
#
# `.tmux.conf` needs to be set for TPM. Tmux has to be installed on the system,
# but does not need to be started in order to run this script.
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SCRIPTS_DIR="$CURRENT_DIR/../scripts"
main() {
"$SCRIPTS_DIR/clean_plugins.sh" # has correct exit code
}
main