-
Notifications
You must be signed in to change notification settings - Fork 811
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
Support an optional omf-
prefix for repos?
#152
Comments
I like the idea! I see people using |
I like the idea too (being optional). |
repository name should not matter at all for user repos i could contribute to this but i don't know fish language and also i can't understand how someone can write actual script in shell scripting languages i can't even use awk in my plugin |
😂
Simple is better here. Supporting |
if i could write this in programming language i would lookup in db directory and there if repository is in pkg directory then it's plugin if in themes it's theme very simple plugin/theme name is filename in db directory and repository name is never used anywhere i always like simple in use not in implementation (if you can't achieve both) btw i managed to rewrite php script with awk and also simplify regex thecotne/omf-plugin-artisan@c7142c3 i want to try implementing this but how can i test if change in script worked or not? (debugging/testing) |
You don't have this for plugins that are not on the database and we do support installing from any URL and soon folder on your computer.
It's very simple to use, we just add it to the name of the plugin. Anyway, I don't think there is any point on discussing this, it's certainly not what I want to do nor you. We both want to improve the framework. So let's focus on how to improve it instead.
We check if the package is a theme or a plugin here. See that we have a That would mean: |
i have changed my repository name https://github.com/thecotne/oh-my-fish/commit/49a2fa02cab64a03026f4e48ae6cd34463b7ea47 if/when you add support for i found 3 places where it looks like a very simple change
i did not know about that okey if not package metadata file then |
When a package repo is in the omf org, it's namespaced:
oh-my-fish/theme-foo
. But when it's a user's repo, it's not:fred/plugin-bar
. In this case, it's not super obvious what it's a plugin for. We should support an optionalomf-
prefix, which is removed just like theplugin-
andtheme-
prefixes :)The text was updated successfully, but these errors were encountered: