Live data from Hacker News

Oh My Zsh adds bloat

rushter.com

281–290 of 304 posts

Re: Oh My Zsh adds bloat

#281

Earlier quoted context omitted.

You really only have to go through that once and it's a good learning experience.

I will have forgotten almost everything by the time something inevitably breaks in a few years. Unless I am constantly recalling the knowledge and applying it, I don't find it worth it. And I _don't_ want to be constantly recalling this knowledge. I want it to just work. OMZ has been working steadily for me for the past 8+ years. Autocomplete, syntax highlighting, and a concise prompt--really all I need.

I mean you learn things about the shell ans shell scripting in general which you do retain. Also shell config is one of those rare things that doesn't "inevitably break." The only stuff that breaks are related to program settings which omzsh isn't going to handle anyway. You end up learning a bit and have a much lighter config. Case-in-point, you had to spend some time combing through and learning all the aliases it defines you when you could maintain a small few that you actually want. Also, zsh has plugins natively.

Re: Oh My Zsh adds bloat

#283
post #159

Earlier quoted context omitted.

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.

Control r. This is a zsh feature not a starship/oh my zsh feature

Ob Linux it's actually handled by inputrc

Re: Oh My Zsh adds bloat

#284

Earlier quoted context omitted.

Biggest problem being not being able to paste much of the complicated code found online. You can save it and run it via bash command though. oh my zsh can recreate much of the fish functionality while maintaining good bash interoperability.

This is the most common complaint I see for switching interactive shells to fish/nushell, but it's not a problem in practice. You don't ever uninstall bash, so if you've got a command to paste: bash exit Tada!

Exactly this, couldn't be easier. Heck, I run into this all the time on macOS whenever an LLM gives me a Bash one-liner that for some reason doesn't work with ZSH. It's easier to just pop into Bash than analyze and adapt that command line to ZSH.

Re: Oh My Zsh adds bloat

#285

Earlier quoted context omitted.

Control r. This is a zsh feature not a starship/oh my zsh feature

I think that's just a standard readline functionality. It's available on bash, out of the box.

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: Oh My Zsh adds bloat

#286
Until reading this thread I never knew so many in the industry were against performant software and workflows, but I suppose that explains the state of things.

Oh My Zsh is more sluggish than benching zsh -ic 'exit 0' would suggest. This benchmark will show command lag among other things, which is very noticeable on a slower computer. https://github.com/romkatv/zsh-bench

I use https://github.com/romkatv/zsh4humans. I installed it once, took an hour or two to tweak it to my liking, and haven't touched it since. It's in maintenance mode so I'm not worried about my zshrc breaking randomly. I have transient git prompt, autosuggestions, autocomplete, syntax highlighting, vim mode, a whole bunch of added functions and line editor additions, and my terminal opens in one frame. It feels more like an extension of my mind than a tool I'm interacting with. OMZ by comparison, feels like typing over a slow ssh connection.

Re: Oh My Zsh adds bloat

#287
These projects tend to go a certain direction...

After a few months with lazyvim I'm missing barebones nvim. Batteries included is nice but requires maniacal restraint.

Re: Oh My Zsh adds bloat

#288
post #284

Earlier quoted context omitted.

This is the most common complaint I see for switching interactive shells to fish/nushell, but it's not a problem in practice. You don't ever uninstall bash, so if you've got a command to paste: bash exit Tada!

Exactly this, couldn't be easier. Heck, I run into this all the time on macOS whenever an LLM gives me a Bash one-liner that for some reason doesn't work with ZSH. It's easier to just pop into Bash than analyze and adapt that command line to ZSH.

> couldn't be easier

Except for the single step workflow: like you do on POSIX shells?

Re: Oh My Zsh adds bloat

#289
post #284

Earlier quoted context omitted.

Exactly this, couldn't be easier. Heck, I run into this all the time on macOS whenever an LLM gives me a Bash one-liner that for some reason doesn't work with ZSH. It's easier to just pop into Bash than analyze and adapt that command line to ZSH.

> couldn't be easier Except for the single step workflow: like you do on POSIX shells?

Couldn’t be easier to use another shell. As in: it’s hard to imagine making it even less complex. Which means it’s no burden at all.

Do you get it now?

Re: Oh My Zsh adds bloat

#290
post #185

Earlier quoted context omitted.

CachyOS is basically arch on easy mode. I used to spend countless hours tinkering with arch but then I got older and don’t have much time. Plus there are helpful meta packages for gaming that work great out of the box, which for a gamer like me sans Windows is pretty awesome.

>I used to spend countless hours tinkering with arch but then I got older and don’t have much time. Have your lost your old configs that you worked hard on? That's a shame if so. I love moving my configs I've worked hard on to new machines and instantly getting up and running in a now-familiar environment. It saves so much time and effort.

> Have your lost your old configs that you worked hard on?

I mean… it was so long ago. Actually it’s more than 15 years ago, on used hardware no less. Needless to say, I don’t even have remotely the same hardware anymore - I’m on AM5 / DDR5 right now.

Post reply on HN