/powerline-train

oh-my-zsh Powerline style Theme - Solarized Color Scheme

Primary LanguageShell

#Powerline theme for oh-my-zsh The Powerline style prompt for oh-my-zsh.

##Preview The one with the apple logo powerline prompt apple

The one with with the linux logo powerline prompt

#####Some more

2 3 4 8

###Requirements

###Installation Manual / oh-my-zsh

  1. Clone the repository.

    $ git clone https://github.com/KuoE0/oh-my-zsh-solarized-powerline-theme.git
    
  2. Create a symbolic link of solarized-powerline.zsh-theme in .oh-my-zsh/themes/.

    $ ln -s $PWD/jckdrpr.zsh-theme ~/.oh-my-zsh/themes
    
  3. (Optional) If you want to use the super git prompt copy the contents in the zsh-git-prompt folder to a desired loacation and source it on top the file like source path/to/zshrc.sh and set the variable SHOW_GIT_SUPER_PROMPT to true

  4. Configure the theme in your .zshrc file :

    ZSH_THEME="jckdrpr"
    

See Antigen for more info.

###Configuration You can set following options in your .zshrc.

Go to the end of file you will find some functions which you can rearange to get the desired prompt.

Use single line in prompt: SINGLE_LINE

  • default: false

Display git status(with lots of details) of current repo. For a large git repo, the prompt will be very slow! SHOW_GIT_SUPER_PROMPT

  • default: false

Display git status of current repo. For a large git repo, the prompt will be slow! SHOW_GIT_STATUS

  • default: true

Display branch name of current git repo. The priotity of this option is higher than SHOW_GIT_STATUS! SHOW_GIT_BRAHCH_ONLY

  • default: false

Display return code: SHOW_RETURN_CODE

  • default: true

Display symbol of current OS: SHOW_OS

  • default: true

The the depth of parant directories: DIRECTORY_DEPTH

  • options:
    • integer > 0
  • default: 4

###Other configuration In addition to what to display and where to, you can also select the foreground and background color for each of the aformentioned elements.

###Thanks to Original project page Powerline theme for oh-my-zsh.

olivierverdier for this awesome super git prompt

The color generating script answer by krwoe.

Random symbols in the prompt I first encountered in here.