You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've run into some cases where having configs conditional on env variables would be useful. Access in templates would give some of the powers I would like, but maybe a --when for env variables would be the more natural thing.
One example for a thing I'm playing around with:
Some terminals have fancy capabilities that will not work in other terminals, being able to adapt based on TERM would allow writing a config that works more generally.
Describe the solution you'd like
Provide access to lookup env variables in templates, and/or allow config scoped on env variable values.
Describe alternatives you've considered
Writing a jj wrapper or similar could accomplish the same thing, but it doesn't feel desirable.
The text was updated successfully, but these errors were encountered:
I've run into some cases where having configs conditional on env variables would be useful. Access in templates would give some of the powers I would like, but maybe a
--when
for env variables would be the more natural thing.One example for a thing I'm playing around with:
Some terminals have fancy capabilities that will not work in other terminals, being able to adapt based on
TERM
would allow writing a config that works more generally.Describe the solution you'd like
Provide access to lookup env variables in templates, and/or allow config scoped on env variable values.
Describe alternatives you've considered
Writing a jj wrapper or similar could accomplish the same thing, but it doesn't feel desirable.
The text was updated successfully, but these errors were encountered: