romkatv / zsh-bench

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

zsh-bench: utility 'script' from util-linux is required #3

Closed johntdyer closed 3 years ago

johntdyer commented 3 years ago

I've installed util-linux on my mac and added it to the path. Everytime I try to run it returns the following:


➜  rose git:(main) ~/zsh-bench/zsh-bench

zsh-bench: utility 'script' from util-linux is required
➜  rose git:(main)```
romkatv commented 3 years ago

What's the output of script -V?

romkatv commented 3 years ago

Closing due to inactivity.

johntdyer commented 3 years ago

script -V doesnt work

➜  plugins git:(master) script -V
script: illegal option -- V
usage: script [-adkpqr] [-t time] [file [command ...]]
➜  plugins git:(master)
romkatv commented 3 years ago

So it's not from util-linux. It's the BSD one.

Moulick commented 3 years ago

Hey @romkatv , I hit into this today. So did brew install util-linux. but this formula is missing script. It has a plethora of other binaries but script it missing. What would be the best way to get script on macos ?

romkatv commented 3 years ago

What would be the best way to get script on macos ?

I don't know.

romkatv commented 3 years ago

FYI: zsh-bench now works with BSD script, so it should just work on macOS.

Moulick commented 3 years ago

@romkatv woah, thanks a bunch, I'll try it out :)