▲ 62 ▼ Release fish 4.2.0 (github.com) submitted 1 year ago by lens0021@programming.dev to c/rust@programming.dev 5 comments fedilink hide all child comments cross-posted from: https://programming.dev/post/40520896
[–] flying_sheep@lemmy.ml 1 point 1 year 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! permalink fedilink source parent hideshow 3 child comments replies: [–] TehPers@beehaw.org 1 point 1 year 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. permalink fedilink source parent hideshow 2 child comments replies: [–] flying_sheep@lemmy.ml 1 point 1 year 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. permalink fedilink source parent hideshow 1 child comment replies: [–] TehPers@beehaw.org 2 points 1 year 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. permalink fedilink source parent
[–] TehPers@beehaw.org 1 point 1 year 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. permalink fedilink source parent hideshow 2 child comments replies: [–] flying_sheep@lemmy.ml 1 point 1 year 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. permalink fedilink source parent hideshow 1 child comment replies: [–] TehPers@beehaw.org 2 points 1 year 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. permalink fedilink source parent
[–] flying_sheep@lemmy.ml 1 point 1 year 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. permalink fedilink source parent hideshow 1 child comment replies: [–] TehPers@beehaw.org 2 points 1 year 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. permalink fedilink source parent
[–] TehPers@beehaw.org 2 points 1 year 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. permalink fedilink source parent