readme.md: Minor formatting tweaks

This commit is contained in:
Tony
2014-04-06 10:16:17 -04:00
parent 23ceae5f9d
commit 44498a968a

View File

@@ -12,17 +12,17 @@ Most prompts are cluttered, ugly and slow. I wanted something visually pleasing
### Why?
- Comes with the perfect prompt character. Author went through the whole Unicode range to find it.
- Shows git branch and whether it's dirty using the [fastest](https://gist.github.com/3898739) method available.
- Prompt character turns red if the last command didn't exit with 0.
- Shows `git` branch and whether it's dirty using the [fastest](https://gist.github.com/3898739) method available.
- Prompt character turns red if the last command didn't exit with `0`.
- Command execution time will be displayed if it exceeds the set threshold.
- Username and host is only displayed when in an SSH session.
- Username and host only displayed when in an SSH session.
- Shows the current path in the title and the [current directory and command](screenshot-title-cmd.png) when a process is running.
- Can easily be used as a starting point for your own custom prompt.
- Makes an excellent starting point for your own custom prompt.
## Install
Install with npm or manually.
Can be installed with `npm` or manually.
### npm
@@ -34,9 +34,12 @@ That's it. Skip to [Getting started](#getting-started).
### Manually
- Clone this repo, add it as a submodule, or just download `pure.zsh`.
1. Either…
- Clone this repo
- add it as a submodule, or
- just download `pure.zsh`
- Symlink `pure.zsh` to somewhere in [`$fpath`](http://www.refining-linux.org/archives/46/ZSH-Gem-12-Autoloading-functions/) with the name `prompt_pure_setup`.
2. Symlink `pure.zsh` to somewhere in [`$fpath`](http://www.refining-linux.org/archives/46/ZSH-Gem-12-Autoloading-functions/) with the name `prompt_pure_setup`.
#### Example
@@ -103,7 +106,7 @@ prompt pure
### [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
Symlink (or copy) `pure.zsh` to `~/.oh-my-zsh/custom/pure.zsh-theme` and add `ZSH_THEME="pure"` to your .zshrc file.
Symlink (or copy) `pure.zsh` to `~/.oh-my-zsh/custom/pure.zsh-theme` and add `ZSH_THEME="pure"` to your `.zshrc` file.
### [prezto](https://github.com/sorin-ionescu/prezto)