Delta: 馃悰 delta command gives output "You must specify a test script."

Created on 12 Aug 2020  路  4Comments  路  Source: dandavison/delta

I've install delta via "brew install delta" and when I run "delta" command it gives this output:

You must specify a test script.

Any idea why I can't run delta correctly?

Most helpful comment

Hi @mstrYoda, the homebrew package is actually named git-delta. It's easy to get confused though! You'll have to brew uninstall delta and then brew install git-delta.

All 4 comments

Hi @mstrYoda, the homebrew package is actually named git-delta. It's easy to get confused though! You'll have to brew uninstall delta and then brew install git-delta.

Thank you so much, thats my bad.

I have the same error message and I have both git-delta and delta brew packages installed (that's because I actually need the other delta package for creduce). Is there a way I can make this work with both packages installed? @dandavison

edit: actually I just realized that brew install fails on git-delta because it installs a binary with the same name as the delta package. I'll try to figure out a workaround by installing it manually. It would be nice if they could coexist!

Hi @GsxCasper, I'm sorry about that. On the plus side, Rust executables are statically linked and in my experience are very easy to work with. So you could either download the MacOS executable from the releases page, or even just build delta from source. Once you've installed rust, that is simply a case of issuing cargo build --release in the git repo, either on master or on the git tag for the latest release. You probably have your own scheme for this sort of thing but personally, what I do is have a directory ~/bin which is on my shell $PATH, and then place symlinks in that directory to whatever executables I want to use (so in this case, to target/release/delta in the delta repo.)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

infokiller picture infokiller  路  5Comments

chmln picture chmln  路  10Comments

herbygillot picture herbygillot  路  5Comments

FranklinYu picture FranklinYu  路  9Comments

fearphage picture fearphage  路  10Comments