News for hackers. Stuff that matters.
Re:You probably don't need Oh My Zsh by mirzap on Saturday January 10, 2026 @04:51AM (#46564299)
I tried using Starship, and it’s clearly faster than Oh My Zsh, but my issue was that I relied on some useful Oh My Zsh features that I didn’t know how to replicate in Starship. One of these is history filtering - for example, when I type source and press the up arrow, I only see previously run source commands, which makes it easy to find what I’m looking for. I tried to get this working in Starship, but had no luck.
Re:You probably don't need Oh My Zsh by coaksford on Saturday January 10, 2026 @05:06AM (#46564374)
I have never used Oh My Zsh, but I use Atuin to do this and it works excellently at that. You can even make it filter by what folder you're in and whether you want to search only this session or host (you can sync shell history across hosts). It never occurred to me that this is something I'd want from a shell prompt, which is what Starship is.
Re:You probably don't need Oh My Zsh by seanhunter on Saturday January 10, 2026 @06:40AM (#46564875)
Control r. This is a zsh feature not a starship/oh my zsh feature
Re:You probably don't need Oh My Zsh by vladvasiliu on Saturday January 10, 2026 @07:29AM (#46565161)
mirzap was probably using some omz plugin to do that, so if starship fully replaced omz, that functionality went away, too.
Re:You probably don't need Oh My Zsh by RHSeeger on Saturday January 10, 2026 @10:59AM (#46566773)
I think that's just a standard readline functionality. It's available on bash, out of the box.
Re:You probably don't need Oh My Zsh by seanhunter on Sunday January 11, 2026 @09:11AM (#46575918)
Absolutely and in zsh too, out of the box. It kind of blows my mind that people think they need all this additional bloatware for things which have always just worked (at least as far back as like 96 or so which is when I started using Linux) but it wasn’t new then.

Wait till people learn they can use rlwrap to get the benefit of readline even in things like commandline sql clients, which often lack this.

Re:You probably don't need Oh My Zsh by mirzap on Tuesday January 13, 2026 @01:37AM (#46597904)
I think convenience inherently comes with bloat. This is true for many things in life. Most people use cars simply to drive to work and back, yet they don’t use 90% of the features sold to them by salespeople.
Re:You probably don't need Oh My Zsh by cromka on Sunday January 11, 2026 @06:52AM (#46574865)
Ob Linux it's actually handled by inputrc
Re:You probably don't need Oh My Zsh by mirzap on Tuesday January 13, 2026 @01:32AM (#46597873)
Oh my god! How did I not know about this! Thank you! Are there any other useful tips like this one?
Re:You probably don't need Oh My Zsh by seanhunter on Tuesday January 13, 2026 @10:33AM (#46602304)
You are most welcome. Probably hundreds but I don't know what you don't know. It's worth learning some old-school command-line history fu as well because that is often useful. I've written up some things I have found helpful here[1]

One thing which is not in the writeup but should be (and I mention it in a sibling thread) is "rlwrap" which is a readline wrapper which imbues whatever program with readline editing and history niceness.

So say you have to use some crufty cli like a sql cli or something that doesn't have commandline editing or history. You run "rlwrap horrible_sql_cli" aaand now it does. Really helpful.

[1] https://www.uncarved.com/articles/unix/

Re:You probably don't need Oh My Zsh by dagi3d on Saturday January 10, 2026 @07:43AM (#46565243)
check atuin for history search
Re:You probably don't need Oh My Zsh by wolletd on Saturday January 10, 2026 @10:08AM (#46566304)
I haven't checked out starship yet, but if I understand what you are using, that is Zle functionality. It's part of OMZs configuration (here: https://github.com/ohmyzsh/ohmyzsh/blob/master/lib/key-bindi...) but doesn't use other OMZ features.

I don't know if starship is still using Zle. If so, this should be possible to configure without OMZ.

Re:You probably don't need Oh My Zsh by mirzap on Tuesday January 13, 2026 @01:32AM (#46597872)
Oh thank you, I was looking for this. Will try it.