From c5da106a4015a315215fafaf614ebfd843a5e21f Mon Sep 17 00:00:00 2001 From: Saharsh Samir Date: Tue, 14 Mar 2023 01:23:51 +0530 Subject: [PATCH 1/2] changed @tpm_plugins to @plugin and fixed tmux show-option --- scripts/helpers/plugin_functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/helpers/plugin_functions.sh b/scripts/helpers/plugin_functions.sh index f33d215..8277f7d 100644 --- a/scripts/helpers/plugin_functions.sh +++ b/scripts/helpers/plugin_functions.sh @@ -1,5 +1,5 @@ # using @tpm_plugins is now deprecated in favor of using @plugin syntax -tpm_plugins_variable_name="@tpm_plugins" +tpm_plugins_variable_name="plugin" # manually expanding tilde char or `$HOME` variable. _manual_expansion() { @@ -70,7 +70,7 @@ tpm_path() { tpm_plugins_list_helper() { # lists plugins from @tpm_plugins option - echo "$(tmux start-server\; show-option -gqv "$tpm_plugins_variable_name")" + echo "$(tmux start-server;tmux show-option -gqv "$tpm_plugins_variable_name")" # read set -g @plugin "tmux-plugins/tmux-example-plugin" entries _tmux_conf_contents "full" | From 356cc53c57d3de03d58721cba0f65c920f7ed9f9 Mon Sep 17 00:00:00 2001 From: Saharsh Samir Date: Tue, 14 Mar 2023 12:21:55 +0530 Subject: [PATCH 2/2] Update plugin_functions.sh --- scripts/helpers/plugin_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helpers/plugin_functions.sh b/scripts/helpers/plugin_functions.sh index 8277f7d..c40472b 100644 --- a/scripts/helpers/plugin_functions.sh +++ b/scripts/helpers/plugin_functions.sh @@ -1,5 +1,5 @@ # using @tpm_plugins is now deprecated in favor of using @plugin syntax -tpm_plugins_variable_name="plugin" +tpm_plugins_variable_name="@plugin" # manually expanding tilde char or `$HOME` variable. _manual_expansion() {