Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nixypanda/powerline-train
oh-my-zsh Powerline style Theme - Solarized Color Scheme
https://github.com/nixypanda/powerline-train
Last synced: about 2 months ago
JSON representation
oh-my-zsh Powerline style Theme - Solarized Color Scheme
- Host: GitHub
- URL: https://github.com/nixypanda/powerline-train
- Owner: nixypanda
- Fork: true (kuoe0/oh-my-zsh-solarized-powerline-theme)
- Created: 2015-12-06T09:41:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-01-20T18:59:15.000Z (over 8 years ago)
- Last Synced: 2024-04-08T16:32:58.056Z (about 2 months ago)
- Language: Shell
- Homepage:
- Size: 395 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-zsh-plugins - powerline-train - A powerline variant. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - powerline-train - A powerline variant. (Themes / ZSH on Windows)
- awesome-zsh-plugins - powerline-train - A powerline variant. (Themes / Zinit (née zplugin))
- awesome-zsh-plugins - powerline-train - A powerline variant. (Themes / ZSH on Windows)
README
#Powerline theme for oh-my-zsh
The Powerline style prompt for oh-my-zsh.##Preview
The one with the apple logo
![powerline prompt apple](https://raw.github.com/jck-d-rpr/powerline-train/master/previews/preview-apple-logo.png)The one with with the linux logo
![powerline prompt](https://raw.github.com/jck-d-rpr/powerline-train/master/previews/preview.png)#####Some more
![2](https://raw.github.com/jck-d-rpr/powerline-train/master/previews/preview-2.png)
![3](https://raw.github.com/jck-d-rpr/powerline-train/master/previews/preview-3.png)
![4](https://raw.github.com/jck-d-rpr/powerline-train/master/previews/preview-4.png)
![8](https://raw.github.com/jck-d-rpr/powerline-train/master/previews/preview-8.png)###Requirements
- Vim Powerline patched font: See [Powerline for vim](https://github.com/Lokaltog/vim-powerline.git) for more info.
- Z shell (zsh): See [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) for more info.
- (OPTIONAL) [GIT Super Prompt](https://github.com/olivierverdier/zsh-git-prompt).(The required code is included which too is optional)###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```3. Configure the theme in your **.zshrc** file :
```
ZSH_THEME="jckdrpr"
```See [Antigen](https://github.com/zsh-users/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](https://github.com/KuoE0/oh-my-zsh-solarized-powerline-theme).olivierverdier for this awesome [super git prompt](https://github.com/olivierverdier/zsh-git-prompt)
[The color generating script](http://unix.stackexchange.com/questions/124407/what-color-codes-can-i-use-in-my-ps1-prompt) answer by krwoe.
Random symbols in the prompt I first encountered in [here](https://github.com/narendraj9/dotfiles).