Transform Your Terminal: 3 Must-Have Zsh Plugins!

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ม.ค. 2025

ความคิดเห็น • 47

  • @DevOpsToolkit
    @DevOpsToolkit  5 หลายเดือนก่อน +2

    Do you use Zsh plugins? If you do, which ones are your favorites?

    • @nassimguelbi
      @nassimguelbi 5 หลายเดือนก่อน

      'zsh-vi-mode' as an alternative to the builtin vi mode for zsh. I still need to figure out a way to turn it off when I'm using terminals inside neovim tho because the interaction between the two is a bit weird.

    • @DryBones111
      @DryBones111 5 หลายเดือนก่อน +2

      zsh-autocomplete is also must-have. Especially useful for when you need to type paths as it'll help you build the path with only existing values.

    • @armynyus9123
      @armynyus9123 5 หลายเดือนก่อน +2

      History: atuin. Period.
      Biggest advantage: Access to all levels of history. Per dir, per session, per host, even cross host.

    • @nenharma82
      @nenharma82 5 หลายเดือนก่อน +3

      zsh-autosuggestions is hands down the single most useful shell feature of all time for me.

    • @erase_ego
      @erase_ego 5 หลายเดือนก่อน +1

      zsh-autocomplete seems better than zsh-autosuggestions

  • @crisp8532
    @crisp8532 5 หลายเดือนก่อน +14

    I prefer fzf (available as a zsh plugin) for searching command history. Might be worth a look.

    • @DevOpsToolkit
      @DevOpsToolkit  5 หลายเดือนก่อน

      I do use it (q lot) but i was not aware that it is available as a plugin. What is the difference?

    • @ZTGallagher
      @ZTGallagher 5 หลายเดือนก่อน +1

      @@DevOpsToolkit I haven't used zsh-autosuggestion, but compared to the example in the video, the fuzzy finding is very "loose" and let's me type less, and things later in the command, and still get the accurate results. For instance you could've typed "ngin sle" and almost definitely gotten the right results.

    • @arnaud74
      @arnaud74 5 หลายเดือนก่อน +1

      @@ZTGallagher I agreee, fzf is so convenient having a list of results as soon as you start to search

    • @devfortunato
      @devfortunato 5 หลายเดือนก่อน +1

      @@ZTGallaghercan you share the link of the fzf plugin?

    • @ZTGallagher
      @ZTGallagher 5 หลายเดือนก่อน +2

      @@devfortunato I don't use it as a plug-in. Just a regular brew install and add a `source

  • @Taddy_Mason
    @Taddy_Mason 5 หลายเดือนก่อน +1

    Switched to Fish a few months ago and it just works. I also feel everything is much cleaner in terms of maintenance.

  • @rlstrength
    @rlstrength 5 หลายเดือนก่อน +5

    I'm in the same boat, fish not being posix compliant is a dealbreaker for me
    A lot of people seem to be using oh-my-zsh but I found it very difficult to track down issues when something doesn't go right, so I'm also using regular old zsh includes. Everything that uses fzf or skim is usually a productivity win
    Would be personally interested in a video explaining what kind of perf issues you had

  • @barefeg
    @barefeg 5 หลายเดือนก่อน +4

    Another must have for me is fzf for fuzzy searching the history

    • @DevOpsToolkit
      @DevOpsToolkit  5 หลายเดือนก่อน +2

      I'll be publishing a video about CLIs I use and recommend and fzf is one of them.

  • @IvanRizzante
    @IvanRizzante 5 หลายเดือนก่อน +2

    Thanks for another great video 🎉 I had 2 out of 3 installed I'll definitely need to give the history plugin a try! By the way you need to tell us why you abandoned oh my zsh😅

  • @artsirx
    @artsirx 5 หลายเดือนก่อน

    Great stuff, loved it, thanks!

  • @dustee2680
    @dustee2680 5 หลายเดือนก่อน +3

    Speaking about not being POSIX compliant, nushell seems to be gaining some popularity lately.

    • @DevOpsToolkit
      @DevOpsToolkit  5 หลายเดือนก่อน

      I haven't tried it yet. Putting it to my to-do list...

    • @zaneearldufour
      @zaneearldufour 5 หลายเดือนก่อน +1

      It's very nice for scripting

    • @DevOpsToolkit
      @DevOpsToolkit  5 หลายเดือนก่อน +1

      @zaneearldufour yeah. I'm already impressed. I'll use it over theonths that follow abd, after that make a video with my thoughts.

  • @Requiem100500
    @Requiem100500 4 หลายเดือนก่อน +1

    I want to use zsh-autosuggestions, but I can't because it breaks ctrl-w/ctrl-y copy/paste flow

  • @jcroyoaun
    @jcroyoaun 5 หลายเดือนก่อน +3

    for substring history, isn't it the same as pressing Ctrl+R?
    btw, I've always had issues preserving my history ever since I moved to zsh. It seems that having multiple ttys open may cause some issues because I randomly have some commands I ran on one tab, but not the ones from the rest of the tabs. If I restart my Mac, it also doesn't preserve most of the things like it used to when I used Linux machines, its personally one of the things that annoyed me the most at first when I switched over to zsh (or MacOS really), but its also my fault because I've really never looked into what the issue is, I just know I've owned 3 macs and they all have the same problem. Any thoughts :)?

    • @DevOpsToolkit
      @DevOpsToolkit  5 หลายเดือนก่อน

      It might be somehow related to something specific on those macs. I owned a bunch of macs so far and none of them had that issue.

  • @robdewhirst7525
    @robdewhirst7525 5 หลายเดือนก่อน +4

    please do explain why you abandoned Oh My Zsh. Zsh-z is another plugin I rely on.

    • @DevOpsToolkit
      @DevOpsToolkit  5 หลายเดือนก่อน

      I haven't tried it (yet). It looks similar to zoxide (my current replacement of cd).

    • @conradtaylor29
      @conradtaylor29 5 หลายเดือนก่อน

      Yes, please do tell all.

    • @ZTGallagher
      @ZTGallagher 5 หลายเดือนก่อน +1

      Oh My Zsh is more of a nice beginner "getting started" addition, but it comes quite bloated and loaded, and you will always eventually want more control over you shell, configuring settings and plugins manually. Makes it easier to find issues when something breaks if you know what you've actually installed. Same with something like Lazyvim or Kickstart for Neovim. Great beginner starting places, but not meant to be the end-all solution.
      Oh-My-Zsh is over 300 plugins combined. Can you really say you know what they all are and what they're doing? In my experience OMZ also has a *noticeable* negative impact on performance.

  • @yyev89
    @yyev89 5 หลายเดือนก่อน +1

    Victor thank you for another great video. May I ask what's so wrong with bash compared to zsh?

    • @DevOpsToolkit
      @DevOpsToolkit  5 หลายเดือนก่อน +2

      I'll work on a video that compares them.

  • @mathiasgebbe1430
    @mathiasgebbe1430 5 หลายเดือนก่อน +1

    You look good and healthy. That makes me happy

  • @marcin_kulik
    @marcin_kulik 5 หลายเดือนก่อน +1

    when is the video on why you abandoned oh-my-zsh coming? :)

    • @DevOpsToolkit
      @DevOpsToolkit  5 หลายเดือนก่อน +1

      Not yet sure... Right now I have material for videos until the end of September so probably right after that.

  • @julianomoraisbarbosa
    @julianomoraisbarbosa 5 หลายเดือนก่อน +1

    # nice know you use this

  • @conradtaylor29
    @conradtaylor29 5 หลายเดือนก่อน +1

    Yes, I would like to hear why you migrated from OhMyZsh to Starship.

    • @DevOpsToolkit
      @DevOpsToolkit  5 หลายเดือนก่อน +2

      It's not that i migrated from OhMyZSH to starship but, rather that i migrated from OhMyZSH to Zsh with a few plugins and starship. The main reason is performance, and a few other ones. I'll work on a video that explains it in more details.

    • @azamatbekzhanov
      @azamatbekzhanov 5 หลายเดือนก่อน +1

      @@DevOpsToolkit what frameworks did you use? Any comparisons?

    • @DevOpsToolkit
      @DevOpsToolkit  5 หลายเดือนก่อน

      I'm not sure I understood the question. Which frameworks are you referring to? If you mean OhMyZSH, I moved away from it mainly because I don't think it brings any additional value while, at the same time, it is relatively slow.

    • @azamatbekzhanov
      @azamatbekzhanov 5 หลายเดือนก่อน

      @@DevOpsToolkit have you tried Zim? It is much faster. I was using it for a while. Just thought maybe you have smth better to suggest

    • @azamatbekzhanov
      @azamatbekzhanov 5 หลายเดือนก่อน

      @@DevOpsToolkit have you tried Zim? It is much faster. I was using it for a while. Just thought maybe you have smth better to suggest

  • @theangelofspace155
    @theangelofspace155 5 หลายเดือนก่อน +1

    I use fig, i think thet got bought by amazon.

  • @wladyx
    @wladyx 5 หลายเดือนก่อน +1

    think zsh has substring search built in, this is what I use:
    ```
    # bind up and down arrow to search in history
    autoload -U up-line-or-beginning-search
    autoload -U down-line-or-beginning-search
    zle -N up-line-or-beginning-search
    zle -N down-line-or-beginning-search
    bindkey "^[[A" up-line-or-beginning-search # Up
    bindkey "^[[B" down-line-or-beginning-search # Down
    ```