1
0
Fork 0
mirror of synced 2024-11-22 15:25:34 -05:00

Update README.md with one more .zimrc example

and hopefully make it clear that the completion module is optional, and
just for users that prefer our predefined configuration instead of their
own set up calling compinit directly.
This commit is contained in:
Eric Nielsen 2022-03-18 22:43:01 -05:00
parent 98fd5fa4da
commit e0fe8ef9c9
No known key found for this signature in database
GPG key ID: 47D1DBFA0765A1FB

View file

@ -139,8 +139,17 @@ You can start with just:
zmodule zsh-users/zsh-syntax-highlighting
zmodule zsh-users/zsh-autosuggestions
```
Or, if you also want to use completions:
If you also want one of our prompt [themes]:
```
zmodule asciiship
zmodule zsh-users/zsh-syntax-highlighting
zmodule zsh-users/zsh-autosuggestions
```
If you want to use our [completion] module too, instead of using `compinit` directly:
```zsh
zmodule asciiship
zmodule zsh-users/zsh-completions --fpath src
zmodule completion
zmodule zsh-users/zsh-syntax-highlighting