Get immediate access to this and over 1,500+ other videos and books.

Boost your skills with a raywenderlich.com Ultimate Beginner Subscription. With over 60+ video courses and our core foundational programming books bundled in one subscription, it’s simply the best investment you can make in your development career.

Customizing Bash

With the release macOS Catalina, the default shell is now zsh. Thankfully, it can run the same bash commands.

To edit the zsh configuration file, type: vim .zshrc

Add the alias commands at the end of the file as shown in the episode.

To reload the shell changes, type the following: source .zshrc

To update the prompt text, type the following in .zshrc: PROMPT=$'\n'"%d %n@%m "$'\n'"> " Save and exit. Make sure to reload the changes by typing: source .zshrc

Here is the link to customize your terminal if you are still using Bash: https://github.com/justincase/IR_Black-OSX

Get a feel for what it's like to edit config files in Bash and how you can bend the system to your will.

Contributors

Reviews

Comments