New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--preview
does not work
#57
Comments
No,
I'm sorry nothing is immediately obvious as to what exactly your problem is. |
I'm using fish 3.5.1, which I didn't mention in the original post.
Can you provide a link to the missing packages? A quick search for their names didn't turn up anything immediately helpful. Edit: Nevermind, found the links in the README. |
My guess is that this is something Re: bare Given that you have a heterodox environment (take your pick -- you're on an OS with a wonky layout, you're not using a package provided by me, and/or not using my steps to build from source), without more, this would be a WONTFIX as it stands right now. That is -- you (and/or your package maintainer) are going to have to do the extra leg work to run the exact issue to ground (or I'm not going to install However, I will be changing the base shell script to make it more portable/more error resistant, and to try to make all the possible failure conditions fail with an error (I am executing a script through a library and Appreciate you filing this bug, pleased to work with you to resolve, but, as indicated above, you're going to need to most of the hard stuff to root cause before I fix. I hope you understand. Thanks for filing the bug! It will remain open. |
I think Try with the linked release: https://github.com/kimono-koans/httm/releases/tag/0.17.5 |
Thank you very much for your information. I will see to look into this ASAP. |
I am going to close this. |
I'm closing again with this release: https://github.com/kimono-koans/httm/releases/tag/0.31.3 |
@heyarne In case you are still interested: version 0.31.5 works perfectly in NixOS using fish. |
Love this utility, it's really neat! Unfortunately
--preview
doesn't seem to work? I just built 0.17.4 using a custom fork ofnixpkgs
, and runninghttm --preview -s
looks like this:Then after selecting a file that changed, this is the next screen:
As you can see, there's no diff shown. Could this be because of custom FZF settings? Other settings don't seem to influence the appearance of
httm
(I have a custom cursor for example), but maybe that's a potential source of bugs. I tried just--preview
as well as custom commands (--preview='delta {snap_file} {live_file}'
and--preview='diff {snap_file} {live_file}'
), none seemed to work. Any idea why not?PS: Maybe if no arguments are specified in
--preview
, assume that the command just takes arguments indiff
order?The text was updated successfully, but these errors were encountered: