In this episode there's a bit of a buzzing sound (perhaps due to a bad XLR cable). I cleaned up the audio quite a bit, but it's still audible in a few places.
- If you’re on Catalina, it’s already installed to
- If you’re on Mojave or earlier, or want the most recent version of zsh:
You’ll also have to make sure that this shell is blessed to be a user’s shell. Do this by adding the path to the zsh binary to
In my case I had to add
/usr/local/bin/zsh to this file.
Then change the shell for your user account:/Users/ben/.zshrc
Some of these have to be enabled before working, but this is a general overview of some of zsh's features.
- Directory completion:
cd D<tab>. Pressing tab multiple times will loop through the available matches. Press enter to select.
- Path expansion:
cd /us/lo/bi<tab> expands to
Desktop will cd into
.. will cd back up one level. I used to use a bash alias for this, but now it's builtin.
- Right side prompts
- Global aliases - apply aliases anywhere in a command
- Suffix aliases - match on a suffix. Automatically open
.txt files with a text editor, for instance.
- which will show you aliases & functions in zsh. Super handy when you want to know what a command does, even if it's an alias.
This is a swiss-army knife of configuration. Only install this if you're comfortable and don't mind learning someone else's configuration.
Follow the instructions here to install & configure oh-my-zsh.