mirror of https://github.com/tmux-plugins/tpm
parent
b2a2581a6a
commit
19da205b0b
@ -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 |
@ -0,0 +1,17 @@ |
||||
#!/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" |
||||
|
||||
source "$SCRIPTS_DIR/shared_functions.sh" |
||||
|
||||
main() { |
||||
reload_tmux_environment |
||||
"$SCRIPTS_DIR/clean_plugins.sh" --tmux-echo >/dev/null 2>&1 |
||||
reload_tmux_environment |
||||
end_message |
||||
} |
||||
main |
Loading…
Reference in new issue