packages-main icon indicating copy to clipboard operation
packages-main copied to clipboard

Gist plugin

Open rominf opened this issue 7 years ago • 3 comments

It would be nice to have gist plugin for pasting files to GitHub Gist. GitHub Gist have an API: https://developer.github.com/v3/gists/. I think the plugin can be implemented in https://github.com/oh-my-fish/plugin-dpaste and then I would rename plugin-dpaste to plugin-paste.

rominf avatar Sep 19 '18 10:09 rominf

@rominf I would like to take this up.

Can you clarify this

  • So I have to raise a PR to plugin-dpaste, to support pasting to Github Gist
  • plugin-dpaste will now support pasting to Github Gist and will now be called as plugin-paste

Mark1626 avatar Jun 15 '19 09:06 Mark1626

@M4rk9696 Nice to hear this! I agree with both your points. I would be happy to accept the PR and rename the repo. But I see the following problems: what to do to save backward compatibility (I think there should be ability to install the plugin without changing the config); how to tell the user that plugin was renamed and he is supposed to fix the fish config file.

rominf avatar Jun 15 '19 16:06 rominf

@rominf Raised the PR, we'll take the discussion over there. Think we can keep the repo under the same name

Mark1626 avatar Jun 15 '19 16:06 Mark1626