rcm icon indicating copy to clipboard operation
rcm copied to clipboard

Only some post-up hooks run

Open robertdj opened this issue 1 year ago • 0 comments

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!

robertdj avatar Feb 25 '24 12:02 robertdj