Update zgen installation command

By default, zgen loads plugins from the master repository. However, when attempting to load the history-search-multi-word plugin, an error is encountered due to its default branch being named "main" instead of "master". To address this issue, you can add the branch name to the command, with the period before the branch name indicating the location within the repository that zgen should search for the plugin. In this case, the period represents the root directory.
This commit is contained in:
Touhid Arastu 2023-04-24 16:08:59 +03:30 committed by GitHub
parent c4dcddc1cd
commit 05c6d2520f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ handle cloning the plugin for you the next time you start zsh. You can also add
### Zgen
```zsh
zgen load zdharma-continuum/history-search-multi-word
zgen load zdharma-continuum/history-search-multi-word . main
```
to your .zshrc file in the same place you're doing your other `zgen load` calls in.