• ErenOnizuka@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    4
    ·
    6 hours ago

    What does it autocomplete? Filenames? Bash can do that too, right? I just hit the tab key and it’s written there.

    And with functions you mean in scripts? How does it handle functions better?

    • Lorem Ipsum dolor sit amet@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      4 hours ago

      Autocompletions in fish also take history into account, which saves you a lot of typing in the long run.

      Fish shell script is much more sensibly constructed than bash so it’s just much easier to write a script in fish.

      • voodooattack@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 hours ago

        Fish was amazing when I first discovered it, but I found it had too many problems for me to effectively use it. Having to adapt existing bash/zsh scripts was a major problem for me.

        So I went the other way around and managed to get all of the Fish features I wanted working under zsh using atuin, starship, and other misc. oh-my-zsh plugins to fill the gaps.

        Best part: I used a git-controlled home-manager setup to do it so I can activate my entire environment on a fresh machine/server in minutes after I clone it.