Install iTerm2 (Terminal emulator) on macOS
MacOS mustHavemacOSapps

Install iTerm2 (Terminal emulator) on macOS

Arturo
Arturo

Features of iTerm

According to it's website:
• Split Panes
• Hotkey Window
• Search
• Autocomplete
• Mouseless Copy
• Paste History
• Instant Replay
• Configurability
• Unixyness
• 256 Colors (or more!)
• and many more..

Install iTerm

We'll install it and customize it too.

  1. Download it from the original source

That’s it, you have successfully installed iTerm in macOS.

Install Oh My Zhs

Install it from the main source, look for the curl install and paste it on your terminal, soon it will have a whole other look.

That’s it, you have successfully installed Oh My Zsh.

Themes

For oh-my-zsh theme:

In order to enable a theme, set ZSH_THEME to the name of the theme in your ~/.zshrc, before sourcing Oh My Zsh; for example: ZSH_THEME=robbyrussell
If you do not want any theme enabled, just set ZSH_THEME to blank: ZSH_THEME=""

The theme that comes with oh-my-zsh (robbyrussell) is pretty good, but in case you want more there are plenty of options.

Another good theme I like is called spaceship-prompt, You can install it like this:

All custom themes are located here: $ZSH_CUSTOM/themes/ so do:

git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" && ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"

Now set ZSH_THEME="spaceship" in your .zshrc

Plugins

The array of plugins can be found here.

This are the ones that I like:

Other Tweaks to the terminal

  1. nvim - a better vim shell
  • Strong defaults
  • Modern terminal features such as cursor styling, focus events, bracketed paste
  • Built-in terminal emulator
  1. Remove default “Last login:” message

Run touch ~/.hushlogin

  1. Run VSC on zsh so you can run: code on the terminal and open it
  • Lunch VS Code
  • Open the Command Palette and type: >shell command
  • Select the first option and restart the terminal for the new $PATH value to take effect. You'll be able to type 'code .' in any folder to start editing files in that folder.

Sources: 1, 2