Thankfully, ZSH has a large and devoted user community which has produced a few tools to help with writing and sharing ZSH configurations. In the old days, configuring ZSH manually took a lot of time and effort. That's it! Close and reopen your terminal. Click here for more information on the chsh command. Note that you'll need to supply the correct path your ZSH binary which you can get with the which zsh command we used earlier. The actual process for changing your default shell from Bash to ZSH is extremely easy. ![]() I also strongly recommend using iTerm2 as your terminal emulator app on Mac OS X. If which instead outputs zsh not found, you can install zsh easily with Homebrew. If you have the executable on your system, which should output /bin/zsh or something similar. Let's get started by running which zsh in whatever shell you're currently using. The good news is that you probably already have ZSH on your system. Instead, I'll provide you with this excellent slide deck about the benefits of ZSH over Bash:įirst let's cover the basics of getting ZSH set up on your Mac. ZSH provides a huge number of improvements over other shells and I could write an entire post just comparing and contrasting the benefits and drawbacks. It wasn't until I started working for a company whose cloud machines all came pre-configured with ZSH that I realized what I was missing. I had heard talk of alternative shells like ZSH before, but I always assumed that the difference was purely aesthetic. ![]() Whereas my shell looked something like this: I'm here to tell you there's a better way.Īfter a few years working in the software industry, I kept noticing that the shells of senior programmers often looked much different than mine did. If you're curious about my config, you can check it out for yourself.īut I'm not here to help you optimize Bash. I worked with Bash for long enough that I managed to amass a pretty fancy. I even switched to iTerm several years back to improve my terminal emulator GUI. I would occasionally feel frustrated by a repetitive command or a missing feature, but there was usually an alias or script I could apply like a bandaid to minimize the pain enough to keep going. While I think software development is a little more complicated than that, this quote brings up an important point: efficiency in software development hinges on the tooling we choose.įor the longest time I used Bash as my UNIX shell. There is no blue without yellow and without orange.Jeff Atwood once famously proclaimed "we are typists first, programmers second". I would like to express my gratitude to all of them, as well as to future contributors. While I am listed as the author, the true authors are all those who are mentioned in the document. Therefore, that's why all contributors are listed first in this document. Without the help of the people who have contributed, this would not have been possible. I cannot claim to be the only author of this project. Many thanks to all who have participated in this Author (contributor)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |