Recover the sanity of your ZSH config

Alex Rocha
Feb 15 · 3 min read
“my first .zshrc” example
“First months vs first years” by imgflip

First step — add a package manager

“A good developer is a lazy developer.”

“.zshrc with antigen” example

Second step — componentize your .zshrc

“.zshrc before componentization” example
“componentized .zshrc” example

Bonus steps

Create your own plugins

extract plugin for zsh

Homesick

~/$ homesick clone alexrochas/dotfiles~/$ homesick link dotfiles
“powerline example” by powerline9k

Z

~/$ cd ./Development/ProjectX/some/folder/
~/$ z proj fol             #and let z resolves the pattern

“mudra” by vistataos

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade