From fde60e02534fcb312afe83c65d1f85d9178109de Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 12 Sep 2013 19:07:19 +0200 Subject: [PATCH] Tweak readme --- readme.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index 0bc0e2b..dffd643 100644 --- a/readme.md +++ b/readme.md @@ -22,20 +22,22 @@ Most prompts are cluttered, ugly and slow. I wanted something visually pleasing ## Getting started -- Place this file somewhere in `$fpath` with the name `prompt_pure_setup` +- Clone this repo, add it as a submodule, or just download `pure.zsh`. -For example: +- Symlink `pure.zsh` to somewhere in `$fpath` with the name `prompt_pure_setup`. +Example: + +```sh +$ ln -s ./pure.zsh /usr/local/share/zsh/site-functions/prompt_pure_setup ``` -$ sudo cp ./pure.zsh /usr/share/zsh/functions/Prompts/prompt_pure_setup -``` +*Run `echo $fpath` to see possible locations.* - Initialize the prompt system (if not so already): ```sh # .zshrc -autoload -U promptinit -promptinit +autoload -U promptinit && promptinit ``` - Choose this prompt: @@ -58,6 +60,8 @@ The max execution time of a process before its run time is shown when it exits. ```sh # .zshrc +autoload -U promptinit && promptinit + # optionally define some options PURE_CMD_MAX_EXEC_TIME=10