Skip to content
This repository has been archived by the owner on Jun 22, 2018. It is now read-only.

ikatyang/zsh-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forked from https://gist.github.com/Ins1ne/3751033

My modified fork of agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals

Quick Installation

require Node.js v6 or above

git clone https://github.com/ikatyang/zsh-theme.git
cp ./zsh-theme/fonts/WenQuanYi-Mono-for-Powerline.ttf /Library/Fonts/
cp ./zsh-theme/ikatyang.zsh-theme ~/.oh-my-zsh/themes/
node ./zsh-theme/scripts/set-theme.js ikatyang
rm -rf ./zsh-theme

Manual Installation

  1. Install Powerline font if there is not.
  2. Download ikatyang.zsh-theme to ~/.oh-my-zsh/themes
  3. Edit ~/.zshrc, set ZSH_THEME as ikatyang
ZSH_THEME="ikatyang"

Compatibility

To test if your terminal and font support it, check that all the necessary characters are supported by copying the following command to your terminal: echo " ±  ➦ ✔ ✘ ⚡". The result should look like this:

Character Example

Powerline Font

Require at least one Powerline font.

What does it show?

  • Success ( ✔ ) or failure ( ✘ ) of previous command
  • Hostname
  • Python virtualenv
  • Git status
    • Branch (  ) or detached head ( ➦ )
    • Current branch / SHA1 in detached head state
    • Dirty working directory ( ± , color change)
  • Working directory
  • Elevated (root) privileges ( ⚡ )

For correct show virtualenv name you should add source ~/.zshrc to ~/.virtualenvs/postactivate hook or run echo 'source ~/.zshrc' >> ~/.virtualenvs/postactivate

Screenshot

About

[DEPRECATED] zsh theme for ikatyang

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published