no comments (yet)

sorted by: hot top controversial new old
there doesn't seem to be anything here
5 comments in c/rust@programming.dev view that post
[–] 4 points 1 year ago (4 children)

Not going to lie, at first I forgot that Fish was ported to Rust and was confused why this was posted here.

I need to give Fish another try now that I'm on Linux. It's a great shell, but I couldn't really use it on Windows.

  • source
  • hideshow 4 child comments
  • [–] 1 point 11 months ago (3 children)

    I'm using nushell, which is also written in Rust.

    It has the added advantage of error handling that actually makes sense!

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 11 months ago (2 children)

    Yeah I normally use Nushell as well. It was the one cross-platform shell I really liked.

    I'll still use it. I just need to find something a bit closer to bash for when I need to use bash commands to do something, or where working in an environment where others use bash. Nushell has some pretty major syntax differences like && not being used to "chain" commands.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 11 months ago* (1 child)

    Idk if that'll make you happy. The different POSIXy shells have so many subtle differences and footguns that I personally feel best

    • using nushell as a daily driver, as it's sane and makes sense and errors out when it should
    • using bash when forced to interact with things that are written in bash (I don't know anything written in fish or ZSH)
    • using Python or Rust or so for scripts living in projects that are written in that language

    I can't be bothered to look up the weird arcane sigils that make bash not shit itself when e.g. using arrays as command args or so, so I will author only the most pedestrian bash scripts where pipes are already a bit much.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 11 months ago

    I already do #1, and I push for #3 (specifically Python or TS) where I can at work, but there's this weird obsession with bash that people have at work despite all these scripts not running on Windows natively (outside WSL). Currently I do #2, but I often end up just stuck in bash the whole time because it's needed for things as simple as building our code. I want to try out Fish as an alternative for those situations.

  • source
  • parent