Giter Club home page Giter Club logo

Comments (8)

faho avatar faho commented on July 2, 2024 1

Fixed by 456a04f.

from fish-site.

ridiculousfish avatar ridiculousfish commented on July 2, 2024 1

Happy it's krader approved 👍

from fish-site.

krader1961 avatar krader1961 commented on July 2, 2024

It would probably be sufficient to begin the example with cd ~/.config/fish/functions to make it clear that the script containing the function is expected to be in the users function autoload directory.

from fish-site.

ridiculousfish avatar ridiculousfish commented on July 2, 2024

I think I want to make this into a function rather than a call to cat.

from fish-site.

krader1961 avatar krader1961 commented on July 2, 2024

Presumably by "make this into a function rather than a call to cat" you mean to replace the cat detect_os.fish with something like function detect_os...end. That is, show how to interactively define such a function. But if we're going to do that it might be better to change the example implementation to something that better illustrates how fish differs from bash, et. al., when expanding vars rather than focusing on a function definition.

from fish-site.

ridiculousfish avatar ridiculousfish commented on July 2, 2024

I'd love to show how the quoting nonsense isn't necessary, but I'm not sure how best to do that with a screenshot. Anyways I'm game - do you have an idea for what to show?

from fish-site.

krader1961 avatar krader1961 commented on July 2, 2024

Thanks, @faho. Your rewrite neatly sidesteps the issues that were confusing our newest member of the fish community.

from fish-site.

faho avatar faho commented on July 2, 2024

Look again - @ridiculousfish made that 😆.

from fish-site.

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.