Fish rules (piefedimages.s3.eu-central-003.backblazeb2.com)
submitted 1 year ago by to c/linuxmemes@lemmy.world
 

fish, the friendly interactive shell, is a commandline shell intended to be interactive and user-friendly.

fish is intentionally not fully POSIX compliant, it aims at addressing POSIX inconsistencies (as perceived by the creators) with a simplified or a different syntax. This means that even simple POSIX compliant scripts may require some significant adaptation or even full rewriting to run with fish.

Source

"How it feels using a posix non compliant shell" Picture of a pug with a cappy, a golden chain and sunglasses
you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 1 year ago* (3 children)

Then you're just running bash scripts with bash. You're not running bash scripts with fish.

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

    I think that's the point of the comment

  • source
  • parent
  • hideshow 2 child comments
  • [–] 8 points 1 year ago* (1 child)

    Exactly, use the shell you like (nushell in my case), write POSIX scripts for maintainability, and use shebangs so you don't have to think about it.

    If you like fish but don't use it as your login shell because it's not POSIX you're missing the point of the shebang

  • source
  • parent
  • hideshow 1 child comment