-
Notifications
You must be signed in to change notification settings - Fork 433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix naming conflicts and tags #274
base: master
Are you sure you want to change the base?
Conversation
Thank you! this fixes it all. |
… syntax fixes for mac
cd "$(tpm_path)" && | ||
GIT_TERMINAL_PROMPT=0 git clone -b "$branch" --single-branch --recursive "$plugin" >/dev/null 2>&1 | ||
GIT_TERMINAL_PROMPT=0 git clone $branch --single-branch --recursive "https://git::@github.com/$plugin" $plugin >/dev/null 2>&1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I may be misreading this but does this not break the case where the plugin URL is intended to use SSH? i.e. [email protected]:user/plugin
, and [email protected]:user/plugin
, effectively removing SSH support for non-GitHub sources?
@@ -82,10 +82,11 @@ tpm_plugins_list_helper() { | |||
# 2. "user/plugin_name" | |||
plugin_name_helper() { | |||
local plugin="$1" | |||
# get only the part after the last slash, e.g. "plugin_name.git" | |||
local plugin_basename="$(basename "$plugin")" | |||
# get only the last part |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: This comment provides less context than the original, I think remove it, since the comment for the function is doing the same job.
Is there any plans on merging this PR?. |
@ch3st3r08 There's very little activity in this repo these days so don't expect it to be merged any time soon. |
This PR fix:
TPM should account for the repository's author to prevent naming conflicts #273
using
.tmux/plugins/<user>/<repo>
plugin's dir structureAdd functionality to install a certain tag/version number #87
nothing done here, instead of #branch you can use #tag
when updating plugins with #branch were not showing