Wenxuan
Wenxuan
Ali-OSS also encountered this problem. We need the ability to manually control any headers including `Content-Type`.
@wren Do you mean let the user set all the environment variables in `.zshrc`?
@wren Got it. I think it's OK!
@carlfriedrich 🙏 Sorry for the very late reply. I just tested it and it works smoothly. Thanks for your contribution!
@carlfriedrich Considering that you have made many great improvements to the project, would you like to be a co-maintainer of this project?
Looks like something went wrong paring the commit hash?
@carlfriedrich Now the preview window works but when I hit `enter` it crashes: With some background processes:
> @wfxr Ah, I see. Obviously it tries to use bash for the function call to `forgit::diff`. What's your `$SHELL` environment variable set to? @carlfriedrich `/opt/homebrew/bin/zsh`
@carlfriedrich Maybe you should capture the printed commit hash from `forgit::log` and then call `forgit::diff` with it.
> @wfxr Well, that's exactly what I'm doing. Strange. Can't reproduce this here. Can you try with a clean shell environment? > > ``` > env -i TERM=xterm-color SHELL=/opt/homebrew/bin/zsh /opt/homebrew/bin/zsh...