voom icon indicating copy to clipboard operation
voom copied to clipboard

Install, Remove and Update with user@plugin format

Open bharatvaj opened this issue 9 months ago • 0 comments

Fixes #1

In the discussion, your proposed solution was to use user-plugin/ format inside the plugin folder.

The problem with that approach was that user accounts can have - in them. A plugin such as vim-scripts/Ada-Bundle would have end up as vim-scripts-Ada-Bundle/ making it impossible to differentiate between the user and plugin in uninstall step.

@ is a good candidate for splitting because user accounts cannot use @, atleast in github. Since https://user:[email protected] is an auth mechanism, hopefully no one allow it as username.

I tried to make the changes as minimal as possible, so there is a small unnecessary change in how dir=$1 is set.

Tested in,

  • alpine ash
  • Arch bash
  • Windows ash

bharatvaj avatar Jul 05 '25 14:07 bharatvaj