我想通过 zsh 添加 diff-highlight 的自动安装塞插头:
zplug "git/git", as:command, use:"contrib/diff-highlight/diff-highlight" \
hook-build:"cd contrib/diff-highlight && make", \
depth:1
如果我手动尝试,构建挂钩可以工作并创建二进制文件,但什么也没有完成,也没有与zplug install
.
我有这个相关的错误行:
{"pid":27363,"shlvl":1,"level":"INFO","dir":"/home/sullivan/dotfiles","message":"git/git: no matches found, rename_hash is empty","trace":["__zplug::log::write::info:2","__zplug::sources::github::load_command:70","(eval):1","__zplug::core::sources::use_handler:13","__zplug::core::cache::commands:13","__load__:55","__zplug::core::core::run_interfaces:14","zplug:12","/home/sullivan/.zshrc:16","zsh:80"],"date":"2019-02-19T16:16:23+0100"}
我错过了什么还是一个错误?如果这是一个错误,我会在 zplug 存储库上打开一个问题。
谢谢