Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

It's more powerful but lacks a bit in interactive features.

I use zsh for regular getting around and opening stuff but anything that needs logic I do in pwsh.



sort by: page size:

Personally I've found zsh's features to massively outweigh it's "slowness" (although I haven't really noticed zsh as "slow", per se)

`esc, esc` to prefix the line with `sudo`, better tab completion (both the navigatable UI with arrow keys, along with the intelligent tab completion (I type in "./llo" and it finds the file "./helloworld.sh")), combined with the massive amounts of customization and modules you can install makes it a shell killer. The only shell I've found that I like more is Windows' Powershell, however that's mostly because I __love__ the Powershell language and syntax.

However I will admit that almost all of what I just complimented is part of oh-my-zsh, which is a community add-on for zsh which makes the experience so much nicer. In my time I've used bash, csh, pwsh and zsh and if I could, I'd always use zsh for termanal interactivity and pwsh (Powershell on Linux) for scripts.


Me. Just came to tell, that it's even better than zsh, but ultimately it's a matter of preference.

I use Zsh at home, and PowerShell 5 (for DSC 1.1) and 7 at work. I love both. I would almost be tempted to use pwsh as my main shell on Linux, but I am too attached to Zsh’s amazing RPROMPT!

Well, actually Oh My Zsh probably has more features than Prezto since it's older, but some people say, and I've experiencied it myself, that it can be pretty slow, while Prezto remains fast and responsive.

Any advantages over someone who's used to zsh?

For somebody who hasn’t tried it, what are the advantages over something like Oh My Zsh?

I'm aware of the difference, but they are both very much integrated into a single UX. The language was what I'm most interested in because writing ZSH is a giant headache even though I've been doing it for years, it' s still painful. That plus the performance of the shell itself.

yeah, zsh is just superior. it can even emulate bash!

How's this compare to oh-my-zsh?

No, I think zsh is strictly more feature rich at the cost of a little more memory (like 1MB maybe). For macs this should be irrelevant.

Like many, I have switched to zsh a few months back and have enjoyed the experience thanks to Oh-My-Zsh. I will give it a go, but I don't know if I can really appreciate the difference.

I'm not familiar with the z4h what does it offer over normal zsh?

As for zsh, I partially agree, but you don't need to go with something heavy like oh-my-zsh. I use prezto, and it's great.

Definitely switch to zsh for interactive use, the differences are minimal enough it will not take any effort to switch. Even forgetting everything else just the superior tab complete is enough to make it worthwhile. Still use bash for scripts they will be more portable.

I tried zsh for a while after seeing its colorful features. But IMHO it lacks command rendering and auto complete speed compared to bash.

How does it compare to oh my zsh?

less magic (which you start to care for if you have to use other people's magic), easier to port stuff to zsh, etc.

FWIW this is also the main selling point of Zsh. I should go through this document in detail (thank you for linking it!) but a quick search shows that Zsh is not mentioned even once, and I think a Zsh comparison would be really valuable for people like me.

Or is it like Neovim vs. Emacs at that point, where neither one is "better" and it's just a matter of taste and/or whichever one you happened to try first?


> and PowerShell is better than zsh.

Could you elaborate?

next

Legal | privacy