romkatv / zsh-bench

Benchmark for interactive Zsh
MIT License
624 stars 27 forks source link

Why is my zsh already in version 5.8 while it said that it's requiered to be greater than version 5.8? #21

Closed olivertzeng closed 1 year ago

olivertzeng commented 1 year ago

❯ ~/zsh-bench/zsh-bench zsh-bench: zsh >= 5.8 is required to execute this script ❯ echo $ZSH_VERSION 5.8

romkatv commented 1 year ago

Because.

olivertzeng commented 1 year ago

Because.

Sorry for my impoliteness bro. @romkatv

olivertzeng commented 1 year ago

and that was fast thanks!

romkatv commented 1 year ago

What does zsh --version say?

olivertzeng commented 1 year ago

❯ zsh --version zsh 5.7.1 (x86_64-apple-darwin19.0) oh there you go

olivertzeng commented 1 year ago

can you please open this issue again? I've used your zsh-bin installer btw

romkatv commented 1 year ago

You need to change PATH so that zsh 5.8 is the first to be found.

olivertzeng commented 1 year ago

How do i do it? (PATH is really a pain in my ass)

romkatv commented 1 year ago

Maybe this? https://stackoverflow.com/questions/7703041/editing-path-variable-on-mac/16288733#16288733

If this doesn't work, google it.

olivertzeng commented 1 year ago

ok

olivertzeng commented 1 year ago

well ill do that tomorrow morning goodnight! (im taiwanese)

olivertzeng commented 1 year ago

doing it now

olivertzeng commented 1 year ago

(although the time is now 19)

olivertzeng commented 1 year ago

where was the zsh-bin installed?

romkatv commented 1 year ago

where was the zsh-bin installed?

That's a question for you.

I'm going to close the issue again.

olivertzeng commented 1 year ago

so should i actually open an issue in the zsh-bin repo?

olivertzeng commented 1 year ago

-d DIR

Install to this directory. If specified more than once, present
an interactive dialog to choose the directory. Empty argument
means a custom directory (requires manual user input). If '-d'
is not specified, the effect is idential to this:

  -d /usr/local -d ~/.local -d ""

so its installed in /usr/local & ~/.local

romkatv commented 1 year ago

so should i actually open an issue in the zsh-bin repo?

No, of course not. Neither of my repos is appropriate to ask for help with administering your computer.

olivertzeng commented 1 year ago

so should i actually open an issue in the zsh-bin repo?

No, of course not. Neither of my repos is appropriate to ask for help with administering your computer.

oops sorry

olivertzeng commented 1 year ago

thanks @romkatv I fixed it because you implied I'll have to do my work. I change from PATH=/bin:/usr/bin:/usr/local/bin:${PATH} export PATH" to PATH=/bin:/usr/bin:/usr/local/bin:${PATH} export PATH="/usr/local/bin:$PATH" and it worked ❯ zsh --version zsh 5.8 (x86_64-apple-darwin17.7.0)

olivertzeng commented 1 year ago

and it's my first time trying to solve problems for myself btw

romkatv commented 1 year ago

Well done.