Merge pull request #241 from coderstephen/master

Add chain theme to db
This commit is contained in:
Derek Willian Stavis 2016-01-20 22:32:20 -02:00
commit 3471b2c28e
2 changed files with 42 additions and 0 deletions

1
db/themes/chain Normal file
View File

@ -0,0 +1 @@
https://github.com/oh-my-fish/theme-chain

View File

@ -7,6 +7,7 @@
- [bobthefish](#bobthefish)
- [budspencer](#budspencer)
- [cbjohnson](#cbjohnson)
- [chain](#chain)
- [clearance](#clearance)
- [cmorrell](#cmorrell)
- [coffeeandcode](#coffeeandcode)
@ -578,6 +579,46 @@ A minimal theme forked from the [yimmy][yimmy-commit] theme (thanks [jhillyerd][
[yimmy-author]: https://github.com/jhillyerd
# chain
### chain
A thin, classy theme composed of a chain of information.
[![asciicast](https://asciinema.org/a/129cyab1j0ou83fhaofg8hs2n.png)](https://asciinema.org/a/129cyab1j0ou83fhaofg8hs2n)
#### Installation
Install with [Oh My Fish][THEMES-NAMESPACE-chain-omf]:
```fish
$ omf install chain
```
#### Features
- Displays current Git branch and dirty state.
- If the last command fails, the exit code is displayed.
- An abbreviated path.
#### Links
Your prompt in chain consists of a series of *links*, with each link displaying a single piece of information. Not all links are always visible and only show up when you need them. Below are all the possible links (in order from left to right):
- Superuser privileges (`⚡`)
- The current working directory
- The current Git branch (`⎇`)
- Git working directory dirty (`±`)
- Exit status of the last command
#### License
[MIT][mit] © [coderstephen][author] et [al][THEMES-NAMESPACE-chain-contributors]
[THEMES-NAMESPACE-chain-mit]: http://opensource.org/licenses/MIT
[THEMES-NAMESPACE-chain-author]: https://github.com/coderstephen
[THEMES-NAMESPACE-chain-contributors]: https://github.com/coderstephen/theme-chain/graphs/contributors
[THEMES-NAMESPACE-chain-omf]: https://github.com/oh-my-fish/oh-my-fish
# clearance
### Fish Theme: clearance