Giter Site home page Giter Site logo

zsh: = not found about gvm HOT 10 CLOSED

jacobintern avatar jacobintern commented on June 2, 2024 2
zsh: = not found

from gvm.

Comments (10)

jacobintern avatar jacobintern commented on June 2, 2024 2

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

from gvm.

RangerCD avatar RangerCD commented on June 2, 2024 1

#442 should fix this issue

from gvm.

goFrendiAsgard avatar goFrendiAsgard commented on June 2, 2024

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

from gvm.

RangerCD avatar RangerCD commented on June 2, 2024

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

from gvm.

RangerCD avatar RangerCD commented on June 2, 2024

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.

from gvm.

RangerCD avatar RangerCD commented on June 2, 2024

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.

from gvm.

adonespitogo avatar adonespitogo commented on June 2, 2024

I can confirm @RangerCD 's solution works.

from gvm.

samsamm777 avatar samsamm777 commented on June 2, 2024

+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

from gvm.

Ashaffah avatar Ashaffah commented on June 2, 2024

I have the same problem here

from gvm.

ankitcharolia avatar ankitcharolia commented on June 2, 2024

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

from gvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.