DFIR Blog
  • Infosec
    • Blog
    • Threat Landscape
  • Digital Forensics
    • Windows Forensics
    • Mac Forensics
    • Memory Forensics
    • Forensic Resources
  • Incident Response
  • CISSP
    • Domain-1
    • Domain-2
    • Domain-3
    • Domain-4
    • Domain-5
    • Domain-6
    • Domain-7
    • Domain-8
  • Contact
  • HTB
  • Productivity

Mac Terminal Setup

11/6/2022

0 Comments

 
Step 1: Install Homebrew
Run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • echo '# Set PATH, MANPATH, etc., for Homebrew.' >> /Users/<hostname>/.zprofile
  • echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/<hostname>/.zprofile
  • eval "$(/opt/homebrew/bin/brew shellenv)"



Step 2: Install iTerm2
  • Run: brew install --cask iterm2

Step 3: Install git
  • Run: brew install git

Step 4: Install oh-my-zsh
  • Run: sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Step 5: Install fonts
  • Download & Install: https://github.com/Falkor/dotfiles/blob/master/fonts/SourceCodePro%2BPowerline%2BAwesome%2BRegular.ttf

Step 6: Install theme
  • Run: git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
  • Set theme on .zshrc: ZSH_THEME="powerlevel10k/powerlevel10k"

Step 7: Install custom Iterm2 colors
  • Copy: https://raw.githubusercontent.com/utsavized/iterm2/develop/utsavized.itermcolors
  • Paste contents in a new file somewhere and name it filename.itermcolors

Step 8: Update iterm2 preferences
  • Create new profile, make it default, delete default profile
  • Set colors to newly created itermcolors files
  • Set font to SourceCode+PowerLine+AwesomeRegular

Step 9: Configure Power Level 10K
  • Re-launch iterm2 and follow prompts

Step 10: Enable suggestions
  • Clone: git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  • Add plugin to .zshrc file: plugins=(zsh-autosuggestions)

Step 11: Configure Vs Code
  • Update terminal.integrated.fontFamily setting to 'SourceCodePro+PowerLine+AwesomeRegular'

Step 12: Enable quake-style terminal
  • Open iterm2 preferences > keys, then configure hotkey to Ctrl + ~ to Show/Hide all windows with a system-wide hotkey
  • Open iterm2 preferences > profile > window, set space to all spaces and check hide after opening
  • Open system preferences > users & groups > login items, then add iterm. Check hide.
0 Comments

    Author

    Write something about yourself. No need to be fancy, just an overview.

    Archives

    November 2022

    Categories

    All

    RSS Feed

  • Infosec
    • Blog
    • Threat Landscape
  • Digital Forensics
    • Windows Forensics
    • Mac Forensics
    • Memory Forensics
    • Forensic Resources
  • Incident Response
  • CISSP
    • Domain-1
    • Domain-2
    • Domain-3
    • Domain-4
    • Domain-5
    • Domain-6
    • Domain-7
    • Domain-8
  • Contact
  • HTB
  • Productivity