for real though, modern linux distros will rarely require you to enter a command line, and if you do, a quick internet search can usually help you find out what you need to enter

  • ComradeBongwater [he/him]
    ·
    3 years ago

    Honestly, my biggest gripe with the terminal is how little info it gives you about what you're about to run.

    It would be nice if distros included a decent zsh config with autocomplete, auto-help text, and syntax highlighting.

    • crime [she/her, any]
      ·
      3 years ago

      Does man command or command --help not usually do it for you?

      • ComradeBongwater [he/him]
        ·
        edit-2
        3 years ago

        My needs are met by those and stuff like tldr, cheat & howdoi, but I am specifically looking for something much more discoverable and inline as I type the command.

        Basically, I want:

        • fzf completions (or any fuzzy searcher w/ previewing)
        • commands and aliases showing description from man beneath
        • file/dir completion showing devicons & file previews
        • flag/option completion while displaying the corresponding help text beneath
        • integration with some of the tools like tldr, cheat, howdoi, navi, etc
        • BigLadKarlLiebknecht [he/him, comrade/them]
          ·
          3 years ago

          I switched to fish last year, and I haven’t looked back. It feels like so much less of an abomination than zsh or bash, and I’ve barely modified it out of the box. Might be worth a whirl, the completion stuff rocks.

          • thisismyrealname [he/him]
            hexagon
            ·
            3 years ago

            i used to use fish, but having to translate scripts from POSIX to fish syntax got annoying. great shell otherwise

      • wantonviolins [they/them]
        ·
        3 years ago

        man command often fails to provide examples of common use cases, and sometimes the man page assumes that you already know what the program was created to do.

        I didn’t know what cat was actually for for years

    • thisismyrealname [he/him]
      hexagon
      ·
      3 years ago

      arch's installer has a really nice zsh setup, but it's not installed by default unfortunately

      • ComradeBongwater [he/him]
        ·
        3 years ago

        Hmm I'll look into it. I've been having trouble finding anything that meets my desires in terms of autocomplete/suggestions. Right now I'm doing mostly manual configuration because all the plugins are missing something in some regard.

        • wantonviolins [they/them]
          ·
          3 years ago

          This is one of the things I hate about a lot of modern popular utilities, the ecosystems around them are extremely fragile and fractured. There isn’t a cohesive set of standard plugins or settings for things like zsh, so everyone ends up with an overly unique setup.

          • ComradeBongwater [he/him]
            ·
            3 years ago

            Agreed. Though, there is a lot of really great stuff in the zsh ecosystem. The problem with zsh (and bash, etc) is the archaic completion system, and all the community stuff is built on top of antiquated decisions.