Prettier Terminal App For Mac

    94 - Comments

Terminal User Guide

  1. Prettier Terminal App For Mac Laptop
  2. Prettier Terminal App For Mac Os

Launch Terminal and hit Command-Comma, or go up to the Terminal menu and select Preferences Next, click on the Settings tab at the top of the preferences window, and look down the left-hand column. Apr 07, 2017 Apps from the Mac App Store. You’ll see an “App Name can’t be opened because it is from an unidentified developer” message. Open a Terminal window. Press Command+Space, type “Terminal”, and press Enter to launch one. Or, you can open a Finder window and head to Applications Utilities Terminal.

Each window in Terminal represents an instance of a shell process. The window contains a prompt that indicates you can enter a command. The prompt you see depends on your Terminal and shell preferences, but it often includes the name of the host you’re logged in to, your current working folder, your user name, and a prompt symbol. For example, if a user named michael is using the default zsh shell, the prompt appears as:

This indicates that the user named michael is logged in to a computer named MacBook-Pro, and the current folder is his home folder, indicated by the tilde (~).

Open Terminal

On your Mac, do one of the following:

  • Click the Launchpad icon in the Dock, type Terminal in the search field, then click Terminal.

  • In the Finder , open the /Applications/Utilities folder, then double-click Terminal.

Quit Terminal

  • In the Terminal app on your Mac, choose Terminal > Quit Terminal.

Quit a shell session

  • In the Terminal app on your Mac, in the window running the shell process you want to quit, type exit, then press Return.

This ensures that commands actively running in the shell are closed. If anything’s still in progress, a dialog appears.

If you want to change the shell exit behavior, see Change Profiles Shell preferences.

See alsoExecute commands and run tools in Terminal on MacChange the default shell in Terminal on MacOpen new Terminal windows and tabs on MacUse profiles to change the look of Terminal windows on MacApple Support article: Use zsh as the default shell on your MacApple Developer website: Command Line Primer

I was a long-time Windows user, a fairly happy one, but as a developer, there were a lot of things that were missing for me and one of the main was the terminal experience. I’m not a fan of the closed ecosystem of Apple so Linux was an easy choice for me and I switched to Linux almost 3 years ago. I did start out with Ubuntu and later switched to Fedora which is my primary OS now. You can read about my setup here

As a senior developer and open source community lead, I spent a lot of time on the terminal and a terminal with a nice developer experience instantly makes you happier and more productive. The default bash terminal is good for beginners but if you really want a powerful terminal you need something more than bash.

Let’s see how to configure a powerful and productive terminal experience. The setup is based on what I have configured on my Fedora machine. The same setup can be recreated on any other Linux distribution, BSD or Mac as well. You just need to use the installation instruction from the tools for the given platform.

Below are the tools we would need for this.


Zsh is one of the most feature-rich shells for Unix. It works on Linux, Mac, WSL, and BSD. There are alternatives like Fish which also offers similar features but I personally like Zsh.

Prettier Terminal App For Mac Laptop

  1. Check if Zsh is already installed by running zsh --version on your terminal. If not found, install it using your package manager.

    • Fedora: sudo dnf install zsh
    • Mac: brew install zsh zsh-completions
    • RHEL/CentOS: sudo yum update && sudo yum -y install zsh
    • Ubuntu/Debian: sudo apt install zsh
    • For other platform refer this
  2. Now make Zsh your default shell by running chsh -s $(which zsh).
  3. Log out and log in back again to use your new default shell.
  4. Test that it worked with echo $SHELL. Expected result: /bin/zsh or similar.
  5. Test with $SHELL --version. Expected result: zsh 5.6.2 or similar

Note: If you have installed Zsh for the first time and launch the shell it would prompt you to configure some settings. You can choose to ignore that by hitting q as we will configure it later on.


Oh-My-Zsh gives the Zsh shell superpowers. Its a framework to manage Zsh configuration. It has plugins and themes for Zsh(A lot of them).

From their Github page:

Once installed, your terminal shell will become the talk of the town or your money back! With each keystroke in your command prompt, you’ll take advantage of the hundreds of powerful plugins and beautiful themes. Strangers will come up to you in cafés and ask you, “that is amazing! are you some sort of genius?”

Just install it. You need it :)

Terminal emulator/multiplexer

Optionally you can use a Terminal emulator that can manage windows and panes for you.

For Linux I would recommend using Tilix, I have been using it for 3 years and its just amazing.

For Mac, you can use iTerm2 which is very popular.

Alternatively, you can also use tmux if you want something lighter on your existing Terminal app on Linux, BSD or Mac.

Configuring Zsh

This is the fun part. Let us make the terminal awesome.

Install plugins

First, let us install some additional plugins that are not bundled with Oh-My-Zsh.


Provides auto completion for shell commands.

Run git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions to install


Provides syntax highlighting on the shell.

Run git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting to install


Provides a smarter directory navigation system. Install autojump for your OS following instructions here.

Now let us configure the ~/.zshrc file with some settings. Here is my full .zshrc file. Your mileage may vary.

Add exports

We will start with some exports.

Zsh settings

Now we can configure some Zsh specific settings

Prettier Terminal App For Mac download

Zsh theme

Now, Let’s set up a nice theme. I’m using powerlevel10k as my current theme and it’s fast and looks great. You can use the default or you can choose any theme you like from the list here. If you like my theme then follow these instructions. Thanks to Roman Perepelitsa for some cool tips

Run git clone https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k to install the theme.

Install a Powerline font. I use Adobe Source Code Pro

Add the below configuration to the ~/.zshrc file.

Enable plugins

Prettier Terminal App For Mac Os

We can finish off by enabling the plugins and some tweaks

And that’s it we are ready. Start a new terminal session and enjoy.

Prettier Terminal App For Mac

Issues & workarounds

If you use Tilix as your terminal emulator, then this might be required for proper pane splitting. Add this to your ~/.zshrc

If you are getting errors from the zsh-completion plugin, you might want to add this to the beginning of your ~/.zshrc

If you encounter an error from Oh-My-Zsh saying [oh-my-zsh] Insecure completion-dependent directories detected, set ZSH_DISABLE_COMPFIX=true right before the line source $ZSH/oh-my-zsh.sh in your ~/.zshrc file and restart your session or run exec zsh

Dockerized playground.

If you have Docker installed then you can use the below snippet to try this setup in a sandbox without installing anything or affecting your existing setup.

VSCode Tip

If you are using VSCode like me, you might want to do the below to get the same terminal experience in the integrated VSCode terminal as well.

Follow these steps

  • Download and install a patched font.
  • On Linux, run fc-cache -f -v to refresh font cache.
  • On VSCode, open Preferences → Settings and click on the {} icon to open JSON mode and set the below

Replace linux with osx if you are on a Mac.

I hope you like it. If you have any questions or if you think I missed something please add a comment.

If you like this article, please leave a like or a comment.

You can follow me on Twitter and LinkedIn.