Skip to content

[Question]: Parsing for git support #111

Discussion options

You must be logged in to vote

Some context: I'd like to use this to set up my alias to call e[xz]a --git if support is enabled, otherwise just e[xz]a ... [other opts], to avoid the "feature disabled" error

I cannot promise this will never change, but this may work for your use case:

eza --version | grep '\[+git\]' -o && eza -l --git || eza -l

Can you see if this works for you?

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by cafkafk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #107 on August 04, 2023 07:15.