My perfect terminal theme setup for macOS

My perfect terminal theme setup for macOS

How to make your terminal easier to look at and also more functional.

STEP 1: Package manager -> Homebrew

brew.sh or copy and paste the following command in the mac terminal

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

It might give you a next step tutorial, where you have to copy and paste 2 commands, just to add Homebrew to your PATH.

STEP 2: Download Terminal -> iTerm2

iterm2.com

Copy and paste the following command in the terminal:

brew install --cask iterm2

STEP 3: Install GIT

Copy and paste the following command in the terminal:

brew install git

STEP 4: Terminal framework -> Oh-My-Zsh

Copy and paste the following command in the terminal:

$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

STEP 5: Install fonts and themes

Fonts:

Download in this link: github.com/Falkor/dotfiles/blob/master/font..

Just drag and drop this file inside of the fonts book from apple.

Theme:

For iTerm:

  1. We have to download the Dracula theme draculatheme.com/iterm Then we go in:

  2. iTerm preferences -> Profiles -> Colors -> Color Presets -> Import -> Choose the "Dracula.itermcolors" file inside of the folder created after unziping the dracula theme.

  3. Go to the "Window" ab and change transparency to 8 and blur to 25 👇

Captura de Tela 2022-04-05 às 12.10.30.png

For Oh-My-Zsh, Agnoster theme:

(github.com/ohmyzsh/ohmyzsh/wiki/Themes#agno..)

STEP 6: Install plugins

Syntax-highlighting

github.com/zsh-users/zsh-syntax-highlightin..

  1. Clone this repository in oh-my-zsh's plugins directory:
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
  1. Activate the plugin in ~/.zshrc:
plugins=( [plugins...] zsh-syntax-highlighting)

Auto Suggestion

github.com/zsh-users/zsh-autosuggestions/bl..

  1. Clone this repository in oh-my-zsh's plugins directory:
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  1. Activate the plugin in ~/.zshrc:
plugins=( 
    # other plugins...
    zsh-autosuggestions
)

STEP 6: Final Observations

To get rid of the user info:

Run:

DEFAULT_USER=`whoami`

Cópia de DEBUGGER.png

To get the icons to work:

Go into iTerm preferences-> Profile -> Text -> Allow "Use built-in Powerline Glyphs"

Design sem nome.png