mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
Added documentation for sourcing config file on Pacman installs
This commit is contained in:
parent
a411ef3e09
commit
ddcfa79e72
1 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,11 @@ If you invoke the `forward-word` widget, it will partially accept the suggestion
|
|||
|
||||
You may want to override the default global config variables. Default values of these variables can be found [here](src/config.zsh).
|
||||
|
||||
**For Arch installs with Pacman:** If you install zsh-autosuggestions using pacman, the default config location is `/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh`. Add the following line to `~/.zshrc` and source it for completions to be offered:
|
||||
``` sh
|
||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
```
|
||||
|
||||
**Note:** If you are using Oh My Zsh, you can put this configuration in a file in the `$ZSH_CUSTOM` directory. See their comments on [overriding internals](https://github.com/robbyrussell/oh-my-zsh/wiki/Customization#overriding-internals).
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue