[X] I've checked the existing issues and I'm not duplicating a report.
[X] I've checked the zimfw Changelog and I'm not being affected by documented changes.
[X] I've checked the zimfw 📢 Announcements and I'm not being affected by announced changes.
Bug description
The installation fails if there is a git binary present, but the user does not have execution permission for it. Unlike the case where no git binary is present, where the installer switches to degit
) Using Zsh version 5.9
) ZIM_HOME not set, using the default one.
) Zsh is your default shell.
) Downloaded the Zim script to /tmp/mktemp.1cmj9lRz/.zim/zimfw.zsh
) Prepended Zim template to /tmp/mktemp.1cmj9lRz/.zimrc
) Prepended Zim template to /tmp/mktemp.1cmj9lRz/.zshrc
x git: Error during git clone
_zimfw_tool_git:7: permission denied: git
Prerequisites
Bug description
The installation fails if there is a git binary present, but the user does not have execution permission for it. Unlike the case where no git binary is present, where the installer switches to degit
Steps to reproduce
Add more steps here ...
Current behavior
) Using Zsh version 5.9 ) ZIM_HOME not set, using the default one. ) Zsh is your default shell. ) Downloaded the Zim script to /tmp/mktemp.1cmj9lRz/.zim/zimfw.zsh ) Prepended Zim template to /tmp/mktemp.1cmj9lRz/.zimrc ) Prepended Zim template to /tmp/mktemp.1cmj9lRz/.zshrc x git: Error during git clone _zimfw_tool_git:7: permission denied: git
Expected behavior
Installer switches to degit
zimfw info
Additional context