this post was submitted on 21 Sep 2024
208 points (96.4% liked)

Asklemmy

43463 readers
704 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 5 days ago* (last edited 5 days ago) (1 children)

omz is bloat and slows fown your shell a lot. Just do this: https://www.youtube.com/watch?v=21_WkzBErQk

And I'd recommend starship for a custom prompt, it's really good: https://starship.rs

Edit: For other ZSH nice-to-haves: https://www.youtube.com/watch?v=eLEo4OQ-cuQ

[โ€“] [email protected] 1 points 4 days ago* (last edited 4 days ago) (1 children)

I'll have to give starship a try, seems like a cool way to handle customizing the prompt

as to the "omz is bloat and slows down your shell":

  1. How slow? Because I've never noticed. Are we talking about waiting for 15 seconds when I should only have to wait for 1, or are we talking theory and the difference between 0.5 vs 0.08 seconds in benchmarks?

Because I've never been inconvenienced by the speed of my shell nor terminal emulator, despite having tried all kinds of setups. Turns out that "blazing fast" gpu accelerated terminal really didn't make much of a difference on human timescales. Now I'm at the point where I appreciate the features over the performance.

  1. In reply to Brody's point, I'm inclined to say "yes, and...?"

OMZ automates a lot. Sure, I could follow his way of manulaly sourcing dozens of individual shellscripts and making my own aliases and have a zshrc 1200 lines long... Or I could just let omz handle it.

Yes it's mostly just a plugin manager, and...? Yes it automates a process I could do manually, and... ? Yes, it uses bindings that I didn't personally write, and... ?

Fuck off with the clickbait "You're living your life wrong, do this lifehack instead!!!!" (and the lifehack is to reinvent the wheel) bullshit

Here's a fun real lifehack: try things out for yourself, don't just listen to and parrot other people's opinions, don't be afraid to go against the grain. Way more fun and fulfilling that way!

[โ€“] [email protected] 1 points 4 days ago

How slow, because I neved noticed

Trust me, it's noticeable. Or at least it was for me. Numbers wise, it doesn't sound like much, but the difference between 0.05s and 0.5s (which are roughly the times I was experiencing) is very noticeable, at least for me. One is done before you've even fully lifted the finger off the key, while with the other you're preparing to press (or maybe you're already pressing pressing) the next key, by the time you see a reaction.

Your mileage may vary.