mirror of
https://github.com/tmux-plugins/tpm.git
synced 2024-12-04 18:58:49 +00:00
Use new plugin syntax all around
This commit is contained in:
parent
343ae423dd
commit
79e4ba885d
@ -11,7 +11,7 @@ check_binding_defined() {
|
||||
|
||||
test_plugin_sourcing() {
|
||||
set_tmux_conf_helper <<- HERE
|
||||
set -g @tpm_plugins "doesnt_matter/tmux_test_plugin"
|
||||
set -g @plugin "doesnt_matter/tmux_test_plugin"
|
||||
run-shell "$PWD/tpm"
|
||||
HERE
|
||||
|
||||
|
@ -12,7 +12,7 @@ manually_install_the_plugin() {
|
||||
|
||||
test_plugin_installation() {
|
||||
set_tmux_conf_helper <<- HERE
|
||||
set -g @tpm_plugins "tmux-plugins/tmux-example-plugin"
|
||||
set -g @plugin "tmux-plugins/tmux-example-plugin"
|
||||
run-shell "$PWD/tpm"
|
||||
HERE
|
||||
|
||||
|
2
tpm
2
tpm
@ -17,7 +17,7 @@ set_tpm_path() {
|
||||
$CURRENT_DIR/scripts/set_tpm_path.sh >/dev/null 2>&1
|
||||
}
|
||||
|
||||
# 1. Fetches plugin names from `@tpm_plugins` user variable.
|
||||
# 1. Fetches plugin names from `@plugin` variables
|
||||
# 2. Creates full plugin path
|
||||
# 3. Sources all *.tmux files from each of the plugin directories
|
||||
# - no errors raised if directory does not exist
|
||||
|
Loading…
Reference in New Issue
Block a user