这是indexloc提供的服务,不要输入任何密码
Skip to content

Only some post-up hooks run #297

@robertdj

Description

@robertdj

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions