Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only some post-up hooks run #297

Open
robertdj opened this issue Feb 25, 2024 · 0 comments
Open

Only some post-up hooks run #297

robertdj opened this issue Feb 25, 2024 · 0 comments

Comments

@robertdj
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant