zsh: = not found
jacobintern opened this issue ยท 10 comments
Can you make sure that you use zsh
?
Try to invoke echo $SHELL
and which zsh
.
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
Same issue here, either my workstation with Manjaro, or my steamdeck.
which zsh
and echo $SHELL
point to the same path /usr/bin/zsh
@goFrendiAsgard I am sure that I use zsh.
but I can use bash version command install gvm in my zsh shell ...
This issue is related to line 115 here:
Since I don't care about .bashrc
or .bash_profile
, I just replace this line with dummy echo
, then the installer works fine.
This issue is related to line 115 here:
Since I don't care about
.bashrc
or.bash_profile
, I just replace this line with dummyecho
, then the installer works fine.
Or maybe also append the newly added line in .zshrc
to .bashrc
would be better.
I can confirm @RangerCD 's solution works.
+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
I have the same problem here
@RangerCD @ashaffah @samsamm777 @adonespitogo @jacobintern @goFrendiAsgard: kindly try out this one. it supports bash
and zsh
: https://github.com/ankitcharolia/goenv