Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elboletaire/zsh-theme-racotecnic
A ZSH theme based on af-magic and posh-git
https://github.com/elboletaire/zsh-theme-racotecnic
theme zsh zsh-theme
Last synced: 6 days ago
JSON representation
A ZSH theme based on af-magic and posh-git
- Host: GitHub
- URL: https://github.com/elboletaire/zsh-theme-racotecnic
- Owner: elboletaire
- License: gpl-3.0
- Created: 2013-12-08T21:47:19.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-04-08T00:29:26.000Z (over 7 years ago)
- Last Synced: 2024-04-20T18:55:34.257Z (7 months ago)
- Topics: theme, zsh, zsh-theme
- Homepage: http://www.racotecnic.com/2013/12/tema-de-oh-my-zsh-inspirado-en-af-magic-y-posh-git/
- Size: 53.7 KB
- Stars: 10
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
Racó Tècnic ZSH Theme
=====================ZSH theme based on Andy Fleming's theme [af-magic](https://coderwall.com/p/3xcpyg) and inspired by the [posh-git](https://github.com/dahlbyk/posh-git) features.
![screenshot](screenshot.png)
Installing
----------As [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) is not accepting more themes right now, you will need to manually download and install the theme in your themes folder.
## oh-my-zsh
If you use oh-my-zsh you can do...
```bash
# using CURL
curl -L https://github.com/elboletaire/zsh-theme-racotecnic/raw/master/racotecnic.zsh-theme > ~/.oh-my-zsh/themes/racotecnic.zsh-theme
# using wget
wget --no-check-certificate -O ~/.oh-my-zsh/themes/racotecnic.zsh-theme https://github.com/elboletaire/zsh-theme-racotecnic/raw/master/racotecnic.zsh-theme
```After that simply change the `ZSH_THEME` value to `racotecnic`:
```bash
# ~/.zshrc
ZSH_THEME="racotecnic"
```## zgen
If you're using [zgen](https://github.com/tarjoilija/zgen), you can add `zgen load elboletaire/zsh-theme-racotecnic` to your zgen load list and regenerate init.zsh with `zgen save`. Zgen will take care of cloning the repository for you automatically.
The Prompt
----------The prompt is similar to the posh-git prompt with two little differences:
- The zeros have been removed, in order to give up some space to the term.
- If you have stashed changes it will appear an asterisk in the right side of the left prompt.The status summary has the following format:
[{HEAD-name} +A ~B -C !D | +E ~F -G !H ! *]
* `{HEAD-name}` is the current branch, or the SHA of a detached HEAD
* Blue means the branch matches its remote
* Green means the branch is ahead of its remote (green light to push)
* Red means the branch is behind its remote
* Yellow means the branch is both ahead of and behind its remote
* ABCD represent the index; EFGH represent the working directory
* `+` = Added files
* `~` = Modified files
* `-` = Removed files
* `!` = Conflicted files
* As in `git status`, index status is dark green and working directory status is dark red
* The trailing `*` represents stashed changes
* The trailing `!` means there are untracked filesBased on work by
----------------- [Keith Dahlby (posh-git)](https://github.com/dahlbyk)
- [Andy Fleming (af-magic theme)](https://github.com/andyfleming)