this post was submitted on 21 Sep 2024
219 points (96.6% liked)
Asklemmy
43945 readers
875 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!
- Open-ended question
- 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.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I have
cd && clear
aliased ashome
Lazy aliases unite!
exec $SHELL -l
omz reload
not going to say zsh is better than bash or fish, but oh-my-zsh does make it more attractive for some use-cases
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
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":
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.
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!
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.