Closed laughingman-hass closed 8 years ago
This is very odd. I'll do some testing today and get back to you!
I've discovered the cause. Prezto's Editor module is resetting the keybinds and zgen initializes Prezto's modules last (regardless of zgen load order), thus removing zsh-autopair's bindings.
I don't know how to fix it internally, so you'll have to do this:
source "${HOME}/.zgen/zgen.zsh"
# Add this
AUTOPAIR_INHIBIT_INIT=1
if ! zgen saved; then
zgen prezto
#...
zgen load hlissner/zsh-autopair 'autopair.zsh'
#...
zgen save
fi
# And this
autopair-init
I'll close this issue for now. Feel free to reopen if this doesn't fix it for you.
👍 Thank you!
Hi there,
I recently changed from oh-my-zsh to prezto, and noticed that autopair stops working. I use zgen to manage plugins. Below is a copy of my .zshrc
it works once after
zgen reset
andzgen save
, but if i reload the shell or start another it stops working. Seen no problems with oh-my-zsh