Do you use Zsh plugins? If you do, which ones are your favorites?
@nassimguelbi4 ай бұрын
'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.
@DryBones1114 ай бұрын
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.
@armynyus91234 ай бұрын
History: atuin. Period. Biggest advantage: Access to all levels of history. Per dir, per session, per host, even cross host.
@nenharma824 ай бұрын
zsh-autosuggestions is hands down the single most useful shell feature of all time for me.
@erase_ego4 ай бұрын
zsh-autocomplete seems better than zsh-autosuggestions
@rlstrength4 ай бұрын
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
@crisp85324 ай бұрын
I prefer fzf (available as a zsh plugin) for searching command history. Might be worth a look.
@DevOpsToolkit4 ай бұрын
I do use it (q lot) but i was not aware that it is available as a plugin. What is the difference?
@ZTGallagher4 ай бұрын
@@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.
@arnaud744 ай бұрын
@@ZTGallagher I agreee, fzf is so convenient having a list of results as soon as you start to search
@devfortunato4 ай бұрын
@@ZTGallaghercan you share the link of the fzf plugin?
@ZTGallagher4 ай бұрын
@@devfortunato I don't use it as a plug-in. Just a regular brew install and add a `source
@Taddy_Mason4 ай бұрын
Switched to Fish a few months ago and it just works. I also feel everything is much cleaner in terms of maintenance.
@barefeg4 ай бұрын
Another must have for me is fzf for fuzzy searching the history
@DevOpsToolkit4 ай бұрын
I'll be publishing a video about CLIs I use and recommend and fzf is one of them.
@artsirx4 ай бұрын
Great stuff, loved it, thanks!
@jcroyoaun4 ай бұрын
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 :)?
@DevOpsToolkit4 ай бұрын
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.
@dustee26804 ай бұрын
Speaking about not being POSIX compliant, nushell seems to be gaining some popularity lately.
@DevOpsToolkit4 ай бұрын
I haven't tried it yet. Putting it to my to-do list...
@zaneearldufour4 ай бұрын
It's very nice for scripting
@DevOpsToolkit4 ай бұрын
@zaneearldufour yeah. I'm already impressed. I'll use it over theonths that follow abd, after that make a video with my thoughts.
@robdewhirst75254 ай бұрын
please do explain why you abandoned Oh My Zsh. Zsh-z is another plugin I rely on.
@DevOpsToolkit4 ай бұрын
I haven't tried it (yet). It looks similar to zoxide (my current replacement of cd).
@conradtaylor294 ай бұрын
Yes, please do tell all.
@ZTGallagher4 ай бұрын
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.
@Requiem1005003 ай бұрын
I want to use zsh-autosuggestions, but I can't because it breaks ctrl-w/ctrl-y copy/paste flow
@IvanRizzante4 ай бұрын
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😅
@yyev894 ай бұрын
Victor thank you for another great video. May I ask what's so wrong with bash compared to zsh?
@DevOpsToolkit4 ай бұрын
I'll work on a video that compares them.
@marcin_kulik4 ай бұрын
when is the video on why you abandoned oh-my-zsh coming? :)
@DevOpsToolkit4 ай бұрын
Not yet sure... Right now I have material for videos until the end of September so probably right after that.
@mathiasgebbe14304 ай бұрын
You look good and healthy. That makes me happy
@conradtaylor294 ай бұрын
Yes, I would like to hear why you migrated from OhMyZsh to Starship.
@DevOpsToolkit4 ай бұрын
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.
@azamatbekzhanov4 ай бұрын
@@DevOpsToolkit what frameworks did you use? Any comparisons?
@DevOpsToolkit4 ай бұрын
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.
@azamatbekzhanov4 ай бұрын
@@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
@azamatbekzhanov4 ай бұрын
@@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
@julianomoraisbarbosa4 ай бұрын
# nice know you use this
@theangelofspace1554 ай бұрын
I use fig, i think thet got bought by amazon.
@wladyx4 ай бұрын
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 ```