My Mac awesome configuration 2020

Updated Feb 13, 2020

Fonts

  1. Firacode v2 : download link
// Firacode installation via homebrew

brew cask install \
   font-fira-code \
   font-fira-mono \
   font-fira-mono-for-powerline \
   font-fira-sans

VSCode

{
  "editor.formatOnSave": true,
  "workbench.colorTheme": "Nord",
  "terminal.integrated.fontFamily": "Source Code Pro for Powerline",
  "terminal.integrated.fontSize": 14,
  "editor.fontFamily": "Fira Code",
  "editor.fontLigatures": true,
  "better-comments.multilineComments": true,
  "better-comments.highlightPlainText": false,
  "better-comments.tags": [
    {
      "tag": "!",
      "color": "#FF2D00",
      "strikethrough": false,
      "backgroundColor": "transparent"
    },
    {
      "tag": "?",
      "color": "#3498DB",
      "strikethrough": false,
      "backgroundColor": "transparent"
    },
    {
      "tag": "//",
      "color": "#474747",
      "strikethrough": true,
      "backgroundColor": "transparent"
    },
    {
      "tag": "todo",
      "color": "#FF8C00",
      "strikethrough": false,
      "backgroundColor": "transparent"
    },
    {
      "tag": "*",
      "color": "#98C379",
      "strikethrough": false,
      "backgroundColor": "transparent"
    }
  ],
  "editor.suggestSelection": "first",
  "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
  "editor.fontSize": 14,
  "editor.cursorStyle": "underline",
  "editor.hover.delay": 100,
  "editor.formatOnPaste": true,
  "editor.minimap.enabled": false,
  "editor.minimap.maxColumn": 140,
  "vsicons.dontShowNewVersionMessage": true,
  "window.zoomLevel": 0,
  "terminal.integrated.shell.osx": "/bin/zsh"
}

Oh-My-ZSH installation

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Plugins

Iterm Color preset

https://draculatheme.com/iterm/
Download: https://github.com/dracula/iterm/archive/master.zip


1. iTerm2 > Preferences > Profiles > Colors Tab
2. Open the Color Presets... drop-down in the bottom right corner
3. Select Import... from the list
4. Select the Dracula.itermcolors file
5. Select the Dracula from Color Presets...

ZSH autocomplete

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

nano ~/.zshrc

// Add inside the plugin
plugins=(zsh-autosuggestions)

Nano editor with syntax highlighting

brew install nano

nano ~/.nanorc

include ~/.nano/syntax_improved/*.nanorc

// restart your terminal

Configuration

Iterm2 profile: Gist

ZSH_THEME=agnoster : Github

Enable text editor navigation

Vertical cursor

iTerm2 → Preferences → Profiles → Text
→ Cursor : ✓ Vertical Bar 
→ Blinking cursor : ✓ ON

Photo by Alexander Andrews on Unsplash

Reference:
1. https://medium.com/@Clovis_app/configuration-of-a-beautiful-efficient-terminal-and-prompt-on-osx-in-7-minutes-827c29391961