Merge pull request #44 from sindresorhus/pb-doc-updates

Add notes about user install and prezto to readme
This commit is contained in:
Sindre Sorhus
2013-12-06 12:58:09 -08:00

View File

@@ -33,6 +33,19 @@ $ ln -s "$PWD/pure.zsh" /usr/local/share/zsh/site-functions/prompt_pure_setup
```
*Run `echo $fpath` to see possible locations.*
For a user-specific installation (which would not require escalated privileges), simply add a directory to `$fpath` for that user:
```sh
# .zshenv or .zshrc
fpath=( "$HOME/.zfunctions" $fpath )
```
Then install the theme there:
```sh
$ ln -s "$PWD/pure.zsh" "$HOME/.zfunctions/prompt_pure_setup"
```
- Initialize the prompt system (if not so already):
```sh
@@ -72,7 +85,7 @@ prompt pure
```
## Tip
## Tips
[Tomorrow Night Eighties](https://github.com/chriskempson/tomorrow-theme) theme with the [Droid Sans Mono](http://www.google.com/webfonts/specimen/Droid+Sans+Mono) font (15pt) is a beautiful combination, as seen in the screenshot above.
@@ -81,6 +94,9 @@ prompt pure
Symlink (or copy) `pure.zsh-theme` into `~/.oh-my-zsh/custom` and add `ZSH_THEME="pure"` to your .zshrc file.
## [prezto](https://github.com/sorin-ionescu/prezto)
Symlink (or copy) `pure.zsh` to `~/.prezto/modules/prompt/functions/prompt_pure_setup` alongside Prezto's other prompts. Then `set zstyle ':prezto:module:prompt' theme 'pure'` in `~/.zpreztorc`.
## [antigen](https://github.com/zsh-users/antigen)