I was editing my .zshrc the other day and wondered what cool things people are doing with it.
Here's my config
# Created by manan for 4.4.2
#C...
For further actions, you may consider blocking this person and/or reporting abuse
I've always liked adding this little snippet to my .zshrc:
So just use
editZsh
to edit your .zshrc and it will be safe!When switching machines, I only have to get my .zshrc from the Drive and here we go again.
Hey Tommy, I actually use yadm to manage my dotfiles. They are then pushed on to GitHub here. So whenever I want to set up a new machine the only thing I need to do is just clone that repo.
Thanks for sharing. I improved my .zshrc a lot since I saw this post. As I use my .zshrc on different machines I implemented an update before the edit.
And as I search for quite often for some strings inside of files I wrote a "find in files" function
Nice, I usually just version my entire Home directory, the process being to first add a .gitignore with * so that by default everything is ignored, and then I can force-add whatever I want to version (remember gitignore doesn't apply to anything that is already versioned).
That way I can also version my fonts folder, background-images folder and whatnot.
Duh.... that is a great idea!!
D'oh! I should've known something like this exists - I'm gonna dive into that, thanks!
I think most people just install oh-my-zsh and forget about .zshrc. Is what I did at first. So I think the first place to look is the oh-my-zsh repository, they have some really useful stuff in the plugins folder.
This are my favorite.
They do a little bit of magic in another file to make sure terminfo has a value.
I actually uninstalled oh-my-zsh and kept what I needed. The zsh specific stuff is here. And what is (mostly) POSIX compliant is here.
I 100% agree with this I think most people just install oh-my-zsh and forget about .zshrc.
I was one of those until today, I'd never thought about how handy could be to have some aliases here and there
I am not 100% certain if aliasing actually saves some time but it sure does save you some keyboard clicks.
I use
fish
.But before i switched, i used a plain
oh-my-zsh
with some plugins made by myself. I really liked it, and occasionally miss it. However, despite a few quirks, i don’t regret switching tofish
for my interactive sessions; scripting is still better in good oldbash
or, if portability is a must, plainsh
.I love your react-app shortcut!
Thanks a lot
FYI: There is powerlevel10k now.
Nice, but why ? The project says it's a drop-in replacement for powerlevel9k but then why not just use the original ? It's still active as far as I know so is there some sort of issue why I would want to use the replacement ?
This is an honest question, and if the answer turns out to be why-not, well I'm down with that answer as well, after all that's the beauty of open-source.
Not quite. Here's what it says:
I guess this depends on one's point of view. Commit activity graph shows last commit in March.
Cool. Thanks for the quick reply and insight on the differences between the two projects.
I'm quite a sucker for 'fast' and lightweight, so now I'm going to have to try it.
It would be very cool to see what your terminal looks like! Could you attach a screenshot that shows the result of your configs?
Sure Louis here it is.