I'm seeing an issue with vimpager, zsh, and git. Trying to do a git diff with vimpager set as my $PAGER causes the output to halt completely. I have to CTRL-Z and kill the job to get my shell back.
Steps
set PAGER: export PAGER=vimpager
Get diff: git diff .
Notice the shell freezes and the prompt never comes back
Kill the diff: <CTRL-Z>; kill %1
set PAGER: export PAGER=
Get diff: git diff .
Notice that you get the diff you expected and the prompt comes back as normal
Config
macOS 13.0.1 (M1)
vimpager 2.06-381-g2d3af2b (standalone, shell=/bin/dash) - built from source
Ah, I think I found the problem. I originally compiled the project with no config at all, and it picked up the dash shell. Recompiling with POSIX_SHELL=zsh seemed to fix the problem I was having with git.
I'm seeing an issue with
vimpager
,zsh
, andgit
. Trying to do agit diff
withvimpager
set as my $PAGER causes the output to halt completely. I have to CTRL-Z and kill the job to get my shell back.Steps
export PAGER=vimpager
git diff .
<CTRL-Z>; kill %1
export PAGER=
git diff .
Config