GithubHelp home page GithubHelp logo

Comments (19)

zacheryph avatar zacheryph commented on May 26, 2024

Yeah, this goes along with everything constantly breaking. Now its the git repo doesn't even exist and i'm updating the .git/config file manually. lets see if this works. debating going back to oh-my-zsh; at least its update command worked more than once.

from oh-my-fish.

bobthecow avatar bobthecow commented on May 26, 2024

Sorry about that. The git repo disappearing was a bit beyond our control :(

from oh-my-fish.

derekstavis avatar derekstavis commented on May 26, 2024

I'm sorry about that @zacheryph. Our original repo got messed up (wahoo merged + 2 force pushes) and then hijacked by a contributor with owner privileges. As @bobthecow mentioned, it was beyond our control.

Anyway, the best way to do a upgrade is:

  1. mv ~/.config/fish/config{,_old}.fish
  2. rm -rf ~/.config/fish/config.fish
  3. rm -rf ~/.oh-my-fish
  4. Do a clean Oh My Fish install
  5. Copy all Plugin "name" and Theme "name" from ~/.config/fish/config_old.fish
  6. Paste it into $OMF_CONFIG/bundle file. If it doesnt exist, create it
  7. Convert all Plugin "name" lines to package name
  8. Convert all Theme "name" lines to theme name
  9. omf install
  10. Disco!

We are very busy migrating plugins to the new structure, fixing bugs in the core framework, documenting things, so a solution for backwards compatibility may not land very soon. Altough, feel free to contribute with improvements on both framework and plugins/themes. You are welcome!

from oh-my-fish.

zacheryph avatar zacheryph commented on May 26, 2024

Thank you both of you. My apologize for sounding hostile, not my intention. I can get a bit carried away sometimes. I was unaware of all the "fun" you guys have been having lately. I have gotten everything all working again, after a little bit of a bumpy ride. Though I will admit I am thankful for all the updates that have been coming through. It is a lot more friendly than it was when I first started using it.

Thank you for all your hard work on this.

from oh-my-fish.

 avatar commented on May 26, 2024

I would like to know if there are any workarounds for installing some of the plugins that are not still available in the new standards. I need to use my vi-mode again, so handy!. Thanks for all your good work guys.

from oh-my-fish.

bobthecow avatar bobthecow commented on May 26, 2024

You can install directly via URL, but it's likely the plugin won't work out if the box. You could help update it, though :)

from oh-my-fish.

derekstavis avatar derekstavis commented on May 26, 2024

A generalist approach is to rename *.init to *.fish and split every function in a file with its name. We encourage people to fork the plugin in interest and contribute the fixes in the main repository. Some examples of plugin ports are:

from oh-my-fish.

 avatar commented on May 26, 2024

I can try to help of course! :D

@derekstavis When you say to split every function in a file with its name, I need to open the file *.load (in my case https://github.com/oh-my-fish/plugin-vi-mode) and create files like the following example:

https://github.com/oh-my-fish/plugin-functional

There is a file *.py which is used once inside the *.load file. Still need to understand better all this coding.

EDIT= All done, and working fine!! I just changed one function in the vi-mode files to improve the paste function which was not fully working for me.

from oh-my-fish.

bpinto avatar bpinto commented on May 26, 2024

Mind you open a PR with the updates?

from oh-my-fish.

 avatar commented on May 26, 2024

@bpinto Done! Please help me out if I did something wrong, it's my first time using github and updating a project.

from oh-my-fish.

rominf avatar rominf commented on May 26, 2024

@bpinto
Can you make a stable branch? I broke oh-my-fish installation again. I like the idea of separate commands omf install ..., etc., but it's better to warn users that it's not ready yet.

from oh-my-fish.

rominf avatar rominf commented on May 26, 2024

Also, please! don't touch my config.fish. I love it, it contains my stuff too.
I would better sed Plugin lines and append source line to appropriate place.

from oh-my-fish.

bpinto avatar bpinto commented on May 26, 2024

I will be back from vacations next Tuesday, I might have a chance to review it before then. :(

from oh-my-fish.

bpinto avatar bpinto commented on May 26, 2024

@rominf we want to use semver what do you think?

from oh-my-fish.

derekstavis avatar derekstavis commented on May 26, 2024

@rominf there's also #50 which removes Plugin and Theme from config.fish. We can also work on adding a single line into config.fish to load Oh My Fish.

from oh-my-fish.

rominf avatar rominf commented on May 26, 2024

we want to use semver what do you think?

I think it would be nice. Actually I would use git branch names for that. update call checkout latests branches and uptates omf and plugins to the latests version. No need to write versions somewhere else.

See #57

from oh-my-fish.

bpinto avatar bpinto commented on May 26, 2024

Home brew requires versioning, I think being able to install omf using brew is quite convenient.

from oh-my-fish.

bpinto avatar bpinto commented on May 26, 2024

So much time has passed, I think we don't need this anymore.

from oh-my-fish.

bobthecow avatar bobthecow commented on May 26, 2024

👍

from oh-my-fish.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.