• Herzenschein@pawb.social
    link
    fedilink
    arrow-up
    6
    ·
    6 hours ago

    While I do like fish syntax, you don’t really need to learn it. You can just use it for your interactive use in the terminal while writing your scripts in bash.

    • null@piefed.nullspace.lol
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      This is the way. I’ve never even attempted to script anything in fish, but it’s just a great interactive shell OOTB. I think at most I have a colorscheme and an alias or 2.

    • Pika@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      4 hours ago

      this is basically what I did until I dropped fish for zsh because of annoyances with how it functioned.

      Scripting in fish is obnoxious though if you learned bash first, heavily recommend staying far away 😂

      Hard recommend staying in bash or at least zsh, at least you maintain compatibility with others if you ever decided to share your scripts.

    • Lena@gregtech.eu
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 hours ago

      Yeah that’s what I do to, I don’t need to write complex scripts anyway. Fish’s syntax seems interesting though.