• ozymandias@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    11 hours ago

    type part of the command, then press up and it’ll complete it from your history….
    also i suggest Oh-My-Zsh for nice colors in the terminal
    the first time you do it you’ll get angry at all the time wasted in bash… also with oh my zsh it’ll show you what branch you’re in in a git repository… it’s great.

    • Tja@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      8 hours ago

      Thanks! I have zsh on some of my machines, and installed zpresto on some but never got the advantages… probably due to bash muscle memory.

      You also can get the git branch in bash, and a bunch of other $PS1 customizations are also possible (Tmux, ssh, time, background processes, etc).

      I’ll try the up completion later :)

      • ozymandias@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        8 hours ago

        yeah you can do anything in bash….
        zsh is really just an extension of bash, imo…
        but the completion alone makes it worth it for me.
        also colors in the terminal