Command Line Basics

May 2 2020 · Bash -, MacOS Catalina, Vim -

Part 2: Intermediate Command Line

11. Customizing Bash

Episode complete

Play next episode

Next
About this episode
Leave a rating/review
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 10. Introduction Next episode: 12. Diff

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Notes: 11. 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