• 0xKesh@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    21 days ago

    Is there anyone that can help answer this? Why use Fish over say ZSH?

    I’m a ZSH user, and every system I install one of the first tasks I always do is install ZSH and oh-my-zsh and make ZSH my default shell. However, if you were to ask me why ZSH over Bash, I honestly couldn’t give you a good answer outside of “oh-my-zsh themes look pretty”

    • sbeak@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      9 days ago

      Fish is setup out of the box while ZSH is minimal OOTB and can be extended with all sorts of themes, plugins, etc. They both offer syntax highlighting, tab completion, fuzzy search, as well as many other QoL features over bash. The main upside of ZSH is that it’s compatible with the same POSIX scripts bash supports, while fish uses their own scripting thing (that can be easier to read and simpler, yes, but you lose compatibility with a lot of existing scripts!)

      In my opinion, I would say fish and ZSH are awesome for most people, while ZSH has the edge when if you use a lot of scripts, and fish is better if you don’t want to configure anything (though oh-my-zsh, which is very simple to install, puts ZSH nearly on par with stock fish)

      I am moving to Piefed at [email protected] (https://retrofed.com/u/scallisto)