8000 zsh: = not found · Issue #440 · moovweb/gvm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

zsh: = not found #440

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

Closed
jacobintern opened this issue Aug 25, 2023 · 10 comments
Closed

zsh: = not found #440

jacobintern opened this issue Aug 25, 2023 · 10 comments

Comments

@jacobintern
Copy link
jacobintern commented Aug 25, 2023

When I clone gvm into my mac, it always say "zsh: = not found", and i found my .gvm/scripts/ folder dosen't have any gvm file in there.
image

this is my .zshrc setting
image

and I can't find any gvm in scripts folder
image

@goFrendiAsgard
Copy link

Can you make sure that you use zsh?

Try to invoke echo $SHELL and which zsh.

image

If which zsh yield error, make sure you have $PATH set correctly.

echo $PATH

You should have /usr/bin in your PATH.

If $PATH yield incorrect result, try to comment [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh in your ~/.zshrc

@RangerCD
Copy link

Same issue here, either my workstation with Manjaro, or my steamdeck.
which zsh and echo $SHELL point to the same path /usr/bin/zsh

@jacobintern
Copy link
Author

@goFrendiAsgard I am sure that I use zsh.
but I can use bash version command install gvm in my zsh shell ...

@RangerCD
Copy link

This issue is related to line 115 here:

https://github.com/moovweb/gvm/blob/dd652539fa4b771840846f8319fad303c7d0a8d2/binscripts/gvm-installer#L115C22-L115C22

Since I don't care about .bashrc or .bash_profile, I just replace this line with dummy echo, then the installer works fine.

@RangerCD
Copy link

This issue is related to line 115 here:

https://github.com/moovweb/gvm/blob/dd652539fa4b771840846f8319fad303c7d0a8d2/binscripts/gvm-installer#L115C22-L115C22

Since I don't care about .bashrc or .bash_profile, I just replace this line with dummy echo, then the installer works fine.

Or maybe also append the newly added line in .zshrc to .bashrc would be better.

@adonespitogo
Copy link

I can confirm @RangerCD 's solution works.

@samsamm777
Copy link

+1 I have this issue too...

➜ ~ echo $0 -zsh ➜ ~ zsh < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) Cloning from https://github.com/moovweb/gvm.git to /Users/XXXXX/.gvm zsh: = not found

@ashaffah
Copy link
ashaffah commented Sep 1, 2023

I have the same problem here

@RangerCD
Copy link
RangerCD commented Sep 1, 2023

#442 should fix this issue

@ankitcharolia
Copy link

@RangerCD @ashaffah @samsamm777 @adonespitogo @jacobintern @goFrendiAsgard: kindly try out this one. it supports bash and zsh : https://github.com/ankitcharolia/goenv

60D9

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

7 participants
0