Replies: 2 comments
-
|
What exact values of |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
As noted above, the following works for me: just --choose --chooser "fzf --multi --preview 'just --show {} | bat --color=always -l just -pp'"My preference is to use a custom _choose:
@just --summary | \
tr ' ' '\n' | \
sort -r | \
fzf --multi --preview 'just --show {} | bat --color=always -l just -pp' | \
xargs just |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to pimp
just --chooseto get syntax highlighting in the preview.fzfis installed on my system but I can't figure out how to set the JUST_CHOOSER environment variable in a way that a tool likebatorhighlightis used in conjunction withfzfto show syntax coloring.My configuration of
batsupports Justfile syntax.If I pipe to
batorhighlightmanually it works. E.g.:Has anyone ever successfully done this and could give me a hint how to set
JUST_CHOOSER?Beta Was this translation helpful? Give feedback.
All reactions