Integration with zprezto #37
This plugin is of course compatible with prezto, it is simply the matter of a correct load order:
zstyle ':prezto:load' pmodule \
"history" \
"completion" \
"history-substring-search" \
"syntax-highlighting" \
"autosuggestions" \
where autosuggestions is simply a git submodule of zsh-autosuggestions within prezto.
This however seems to break the sorin theme of zpreztorc. The command prompt seems to dissapear at the first shell load (it appears again after the first command has failed/succeeded).
Open for a PR that includes updates to the readme regarding how to make this work well with prezto
@samupl I am using powerline, which seems to be working fine. Concerning the load order, you just need to make sure autosuggestions are loaded after completion module, otherwise it modifies the behaviour required by autosuggestions.
@N4M3Z how did you actually install autosuggestions? I'm trying to get it working w prezto on the minimal theme and having no luck :(
Follow my commits here: https://github.com/N4M3Z/zsh-core/commits/module/autosuggestions, or just use my fork of Prezto entirely. The module is initialized like this: N4M3Z/zsh-core@29756c7
@breerly There should be a modules/autosuggestions branch in Prezto. Feel free to modify that.
@breerly My fork of Prezto is slightly modified and relies mainly on this commit: N4M3Z/zsh-core@21ecc2c, it autoloads modules using functions.zsh, aliases.zsh and bindings.zsh files instead of just init.zsh. As this is not going to make it to Prezto master, you would have to adapt it to suit your needs. But feel free to check out my development branch, there are more modules to choose from.
@N4M3Z I don't recall having a discussion with you about splitting files.
@sorin-ionescu It was some time ago: sorin-ionescu/prezto#860, I did not actually submit a pull request, but I can sure do that if you are interested.
It would be nice to be able to use zsh-autosuggestions with prezto (https://github.com/sorin-ionescu/prezto). There are a few issues with it, especially with the 'history-substring-search' module.
A simple, bare install of prezto and zsh-autosuggestions doesn't seem to be working properly.