Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mpostaire committed Apr 11, 2022
1 parent 721727d commit 75b2976
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ To update ztupide and all its plugins use `ztupide update`.

## Example

```zsh
```bash
[ -f ~/.zsh/ztupide/ztupide.zsh ] || git -C ~/.zsh clone https://github.com/mpostaire/ztupide
ZTUPIDE_AUTOUPDATE=604800 # autoupdate interval of 7 days
source ~/.zsh/ztupide/ztupide.zsh
Expand All @@ -44,6 +44,9 @@ ztupide load --async zdharma/fast-syntax-highlighting
# load local plugin installed in $ZTUPIDE_PLUGIN_PATH/zsh-colored-ls
ztupide load zsh-colored-ls

# adding completion functions to fpath doesn't work using the --async mode
ztupide load zsh-users/zsh-completions

# set variable before loading its plugin
ZSH_AUTOSUGGEST_USE_ASYNC=1
# call _zsh_autosuggest_start function after the plugin is loaded.
Expand Down

0 comments on commit 75b2976

Please sign in to comment.