home.social

#oilshell — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #oilshell, aggregated by home.social.

fetched live
  1. @simonmic Not sure about #oilshell though. I'm very happy with #fishshell for interactive use and when there's a need for advanced scripting, why not use python or javascript directly?

  2. osh alone is already worthwhile and succeeding. It also unlocks the way forward - without osh, neither ysh or any other new shell language can ever really get traction. With osh’s support for gradual cleanup, it's possible.

    (cc from the reddit)

    2/

  3. I'm a longtime bash user using osh as my default shell for a year or so now, with only minor noticeable issues. I haven't yet had a need to invest time in the still-being-designed ysh.
    I feel osh is the killer feature of the Oils project - 1. a truly compatible, cleaned up, principled bash replacement, with 2. optional knobs you can turn to gain more correctness and power, and 3. the promise of easy interop or migration to the next-gen ysh language, providing future-proofness.

  4. The :matrix.org chat room I started last year, for matrix users to chat about , is still an undiscovered secret. But I think it'll grow eventually, and I hope so because Zulip just isn't as easy!

  5. Back from outing: getting out of #fishshell is really hard. Tried going back to #bash (even with #blesh), tried #OilShell and none of them really work (filed bug reports). Sad. Anybody knows about POSIX-compatible interactive shell which actually works and at least from distance can compete with fish?

  6. @bean Lately, #oilshell , which I have started daily driving on Ubuntu, and am working on a build for for FreeBSD.

    See more at oilshell.org and particularly oilshell.org/blog/2021/01/why-

    The goal of the project is to build a shell compatible with bash (osh), bust statically parsed and with an upgrade path to a much more powerful shell language (ysh), which improves on the warts of Bourne-lineage shells.

  7. I've fallen down the rabbit hole over at Andy Chu's blog for #oilshell: oilshell.org/blog/

    Learned some #shell patterns that I was able to use immediately

    "$0" dispatch: oilshell.org/blog/2021/08/xarg

    Used that to build a helper function to make `mv` `xargs`-friendly (i.e., don't call once per file)

    move () {
    d="$1"
    shift
    mv "$@" "$d"
    }

    move_many () {
    find . |
    filter |
    xargs "$0" move /dest/dir
    }

    This feels like it rhymes with currying, but with variadic functions. Very cool.

  8. (In future, if osh/ysh get some make/just-inspired features or libraries (seems quite possible), the pendulum may swing back to using shell only.

  9. after a day of playing around with all shells:

    - is awesome but a bit clunky
    - is great, will probably be my runner
    - very similar to nushell but treats everything as a Python objects instead of tables. Will come back to this one. No install yet.
    - as good as it gets for classic shells
    - , - no real reason to run it unless you're locked into bash ecosystem
    - - couldn't get it to work but there's a lot of good work here. Next time.

  10. Really trying to give for a go but there's so little documentation that it's basically impossible to onboard. Took me an hour to just figure out that it's running bleh.sh as readline and still have no idea how everything is configured.

  11. @risottobias Then it's too late.
    By the way, your Question is misleading. It can't possibly run in #bash and #zsh and #ionshell and #oilshell

  12. I checked out the c++ release of #oilshell (oils-for-unix in oilshell.org/release/0.14.0/) for the first time this weekend.

    They're still ironing out issues (I wasn't able to build it on macOS, and was able to crash it with a huge for loop, for example), but the performance is on-par with other shells for some purposes!

  13. @murks that's where 's f_scripts come in to save the day, written in

  14. Got a chance to talk to Miles Alan about his amazing projects:

    * (Early days of)
    * framebufferphone: new UI
    * Mepo: new map app for Sxmo, fbp, Phosh, possibly PlaMo & more
    * Why he likes and

    cast.postmarketos.org/episode/