Skip to content

Commit

Permalink
update prezto integration instructions (#50)
Browse files Browse the repository at this point in the history
updated instructions after sorin-ionescu/prezto#1472
  • Loading branch information
sergiorussia authored and miekg committed Apr 21, 2019
1 parent 86612ff commit 4085d3e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,18 @@ Note you must have the option PROMPT_SUBST set, see zshoptions(1).
prezto
---
If you use [prezto](https://github.com/sorin-ionescu/prezto) you should do the following:

```
cd ~/.zprezto/ \
&& git submodule add https://github.com/miekg/lean.git modules/prompt/external/lean 2>/dev/null \
&& git submodule update --init --recursive \
&& cd modules/prompt/functions \
&& ln -s ../external/lean/prompt_lean_setup
cd $ZPREZTODIR && git clone --recurse-submodules https://github.com/belak/prezto-contrib contrib
```

Then in `~/.zpreztorc`:

Then in `~/.zpreztorc` add `contrib-prompt` to module load list and select `lean` as a theme:
```
zstyle ':prezto:load' pmodule \
... \
'contrib-prompt' \
'prompt' \
...
zstyle ':prezto:module:prompt' theme 'lean'
```

Expand Down

0 comments on commit 4085d3e

Please sign in to comment.