rcm
rcm copied to clipboard
Only some post-up hooks run
I have a problem with my post-up hooks. I have a couple -- split I multiple files, one for each thing to setup.
The one for setting up my precious Vim looks a lot like the official Thoughtbot setup. It is executed, but the next one (related to zsh) is not.
I am informed that:
post-up hook /path/to/vim-plug exited non-zero (1)
The exit status is from the command
vim -E -s +PlugUpgrade +qa
(Inspected by adding echo "$?"
as the next line.)
If I remove this command and instead update the plugs with
vim +PlugUpdate +PlugClean! +qa
I get an exit status of 0, but the zsh related hook is still not executed.
If I leave out all vim
commands it works as expected.
Any clues about how to fix this is greatly appreciated!