From 45bbcfe77bae962bfe489b4b4a5376d084f763b1 Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Fri, 6 Dec 2013 15:42:54 -0500 Subject: [PATCH] Add notes about user install and prezto to readme --- readme.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index a9cccf5..7e5ab23 100644 --- a/readme.md +++ b/readme.md @@ -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)