
To set a Theme, simply open ~/.zshrc file (created by “Oh My ZSH”) and change the theme as shown below. PS: But some Themes need extra steps like installing specific fonts and so on.

In this step, we’ll add two different “Oh My ZSH” Themes.
#Zsh syntax highlighting install
Initial Oh My ZSH Theme Step 4- Change Themes And Install Fonts Notice that the prompt has changed and the theme is a bit different - That’s “Oh My ZSH” in action for you. sh -c "$(curl -fsSL )" Oh My ZSH is installed Run the following command to install “oh My ZSH”. From what I know, most power users who use ZSH also use “Oh My ZSH”. It provides default config for ZSH (~/.zhrc file) and also provides themes and more features. “Oh My ZSH” is a plugin that runs on top of ZSH. usr/local/bin/zsh //correct Step 3- “Oh My ZSH” Test if we are using ZSH and the correct ZSH $ echo $0 You will be prompted to enter Mac’s password. It gets installed at /usr/local/bin/zsh PS: Mac’s default ZSH is at /bin/zsh brew install zsh Run the following command to install ZSH. If it doesn’t work, try xcode-select -r to reset. $ xcode-select -install Note: The above command opens up Mac’s installer and installs the XCode Developer CLI tools. So make sure to install the Xcode CLI tools by running the following command. XCode Developer CLI tools are used by various apps that manipulate core OSX features. If you don’t get the error, you can skip this step, because you already have it installed. If you get Command Line Tools for Xcode error, it means you haven’t installed the CLI tools for Xcode. Install Homebrew by running the following command.Ģ.Homebrew, simply said, is a command line installer for all sorts of software.

This option is pretty common among users, because some of the plugins only work with the latest ZSH. Option 2- Install Homebrew and Install latest ZSH via Homebrew To test, open the Terminal and type the following, and it should say zsh.
#Zsh syntax highlighting password
Enter the password and it will change the shell, upon logout and login.Ĥ.
#Zsh syntax highlighting mac
Mac comes with a ZSH out-of-the-box, so we don’t need to install it. The following video shows why ZSH is better than just a bash shell. Although the steps are the same for both Terminal or ITerm2.

When I mention “Terminal”, I mean ITerm2. The following video shows some of the new features of Item 2 (v3). It of course can run ZSH, Bash, and other shells inside it. It is similar to the Terminal, but has lots of features of its own.
