Skip to content

Instantly share code, notes, and snippets.

@alexpaul
Last active November 2, 2024 19:19
Show Gist options
  • Save alexpaul/4c1d2e34cec3d6d8181f47fa909ca5a8 to your computer and use it in GitHub Desktop.
Save alexpaul/4c1d2e34cec3d6d8181f47fa909ca5a8 to your computer and use it in GitHub Desktop.
iTerm2. Powerline fonts. Oh my zsh. Agnoster theme.

Installing iTerm2, Powerline fonts and the agnoster zsh theme

Steps

  1. Install homebrew
  2. After homebrew has been installed run the following terminal command to install iTerm2 brew cask install iterm2
  3. Install powerline fonts by running the enter Terminal command below:
# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts
  1. If you haven't already installed the oh my zsh framework go ahead and install using the command $ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  2. Open iTerm2 and navigate to Preferences -> Profiles -> Text and verify you have the ProFont for Powerline font installed.
  3. Also run the following command echo "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699" to verify font is installed. You should see the following: powerline font result
  4. Finally open the zsh configuration file and update to the agnoster theme.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment