Skip to content

Instantly share code, notes, and snippets.

@shaykalyan
Last active September 23, 2024 09:23
Show Gist options
  • Save shaykalyan/cd276a7d812dd393caf1 to your computer and use it in GitHub Desktop.
Save shaykalyan/cd276a7d812dd393caf1 to your computer and use it in GitHub Desktop.
Oh My Zsh theme with Powerline font guide

Themed zsh Shell for iTerm/Guake Guide

Preview

What you need

Install

  • Edit the theme to include your user name
    • Find and replace <username> with your alias
  • Copy theme to Oh My Zsh's theme directory
    • cp xshay.zsh-theme ~/.oh-my-zsh/themes/
  • Install powerline fonts
    • Mac
      • Install like any other font
    • *nix
      • Copy Powerline fonts to your system fonts directory
        • sudo cp *.otf /usr/share/fonts/opentype
          • If the directory does not exist, create it
      • Refresh system font cache
        • sudo fc-cache -fv
  • Edit ~/.zshrc to use new xshay theme
  • Update font settings to use a Powerline font
    • iTerm
      • Preferences -> Profiles -> Text -> Change Font
  • Change your color palette
    • iTerm
      • Preferences -> Profiles -> Colors -> Load Presets
@heijmerikx
Copy link

I just had to change the terminal preferences to use the chosen font to make it work for Pop!_OS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment