this post was submitted on 24 May 2024
13 points (93.3% liked)

Linux

5234 readers
42 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS
 

So I'm currently using zsh + oh my zsh, and have been using it for some years now. It's good, it has amazing features (via plugins) and overall I'm happy with it. But lately it has become laggy for me (probably because of plugins) and I want to see if there's any other shell with features like ZSH but faster and lighter?

I've tried Fish, and usually install it on my servers, but it's not POSIX compliant so learning what commands actually do what in Fish seems like a hassle.

I've heard of Oilshell, Yash, Nushell but haven't tried any of them.

What is your setup for your interactive shell?

you are viewing a single comment's thread
view the rest of the comments
[–] hagar@lemmy.ml 12 points 5 months ago

It wouldn't be fair to say zsh is slow because ohmyzsh is slow. ohmyzsh is notorious for being a bit bloated. If you pull the whole thing, it makes a mess of your shell and you really can't tell anymore what is what.

It's possible to install the individual stuff you need from oh my zsh without pulling the whole thing.

I am a happy antidote user. With it, you can do something like this on your zsh_plugins.txt file:

ohmyzsh/ohmyzsh path:plugins/extract

Though ohmyzsh provides its own means to enable and disable plugins, this will allow you to cut that down to the pulling only of individual plugins in the first place.

Your mileage may vary, but other plugin managers may give you different ways to accomplish the same.

zsh is quite an advanced shell. You will find other shells that do things radically different and have their own bells and whistles, but if you are going for feature parity it may be hard to find a replacement.