Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git not found when installing #179

Open
pakyrs opened this issue Feb 28, 2024 · 1 comment
Open

git not found when installing #179

pakyrs opened this issue Feb 28, 2024 · 1 comment

Comments

@pakyrs
Copy link

pakyrs commented Feb 28, 2024

Describe the bug

I have git installed and when launching the script it prompt me to install it. I can launch git and it is in my path, it's never been a problem anywhere else to be honest, a bit confused.

Steps to reproduce

zsh -x <(curl -s https://raw.githubusercontent.com/zap-zsh/zap/master/install.zsh) --branch release-v1 
...
+main:43> git clone -b release-v1 https://github.com/zap-zsh/zap.git /home/pacadmin/.local/share/zap
+main:43> echo '❌ Git is a dependency for zap. Please install git and try again.'
❌ Git is a dependency for zap. Please install git and try again.
+main:43> return 2
+/proc/self/fd/11:78> [[ 2 -eq 0 ]]
+/proc/self/fd/11:78> return
...
which zsh
/usr/bin/zsh

Expected behavior

Proceed to cloning and installing zap.

Screenshots and recordings

No response

OS / Linux distribution

Kali Rolling

Zsh version

5.9

Zap version

latest

Terminal emulator

Konsole

If using WSL on Windows, which version of WSL

None

Additional context

No response

@mamaraddio
Copy link
Member

mamaraddio commented Apr 9, 2024

@pakyrs Clould you please show the complete output of zsh -x <(curl -s https://raw.githubusercontent.com/zap-zsh/zap/master/install.zsh) --branch release-v1 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants