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