You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When contributing to a plugin, it is great to be able to fork a project to test things out on our own installation.
However, since the plugin only uses the name of the repository, and not the author, this can lead to naming conflicts.
If I try to use https://github.com/janoamaral/tokyo-night-tmux as a fork of mine at https://github.com/aminnairi/tokyo-night-tmux, TPM will not update the folder ~/.tmux/plugins/tokyo-night-tmux.
From my perspective, there is two possible outcome.
Use the fully-qualified repository name along with the username to prevent repository conflicts.
Or
Do check that the repository's remote is matching the repository name given when the set -g @plugin "aminnairi/tokyo-night-tmux#mode-style" option is used (in this case, check that aminnairi/tokyo-night-tmux#mode-style is matching the one in ~/.tmux/plugins/tokyo-night-tmux).
The latter will likely prevent introducing a breaking change as one possible outcome for the first solution would be to use the author's name in the folder like ~/.tmux/plugins/aminnairi/tokyo-night-tmux.
The text was updated successfully, but these errors were encountered:
When contributing to a plugin, it is great to be able to fork a project to test things out on our own installation.
However, since the plugin only uses the name of the repository, and not the author, this can lead to naming conflicts.
If I try to use
https://github.com/janoamaral/tokyo-night-tmux
as a fork of mine athttps://github.com/aminnairi/tokyo-night-tmux
, TPM will not update the folder~/.tmux/plugins/tokyo-night-tmux
.From my perspective, there is two possible outcome.
Use the fully-qualified repository name along with the username to prevent repository conflicts.
Or
Do check that the repository's remote is matching the repository name given when the
set -g @plugin "aminnairi/tokyo-night-tmux#mode-style"
option is used (in this case, check thataminnairi/tokyo-night-tmux#mode-style
is matching the one in~/.tmux/plugins/tokyo-night-tmux
).The latter will likely prevent introducing a breaking change as one possible outcome for the first solution would be to use the author's name in the folder like
~/.tmux/plugins/aminnairi/tokyo-night-tmux
.The text was updated successfully, but these errors were encountered: