you are viewing a single comment's thread
view the rest of the 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