-
Notifications
You must be signed in to change notification settings - Fork 365
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
Some config doesn't work when loaded via --config-file #5282
Comments
Since aliases have to be expanded before parsing arguments, they cannot be defined by |
That makes sense and explains why it's only those options. Maybe some background of why I'm trying to do this: With git I'm always using two config files:
Since jj doesn't allow both For now I could probably just switch the files (since not being able to set them via the CLI is not a super big deal), but it would be nice if there was some kind of include mechanism that also supports alias expansion. |
See #4926 (comment) for the multiple config files issue. Maybe we can change the default to |
Thank you! That works well enough for me. |
Description
It seems like some config such as aliases and ui.default-command don't work if they're loaded via
--config-file
, but do work if they're specified in the regular config file.Other options like
work without issues.
Steps to Reproduce the Problem
jjconfig2.toml
with the following contents:jj --config-file=jjconfig2.toml l
Expected Behavior
The log is displayed.
Actual Behavior
Specifications
The text was updated successfully, but these errors were encountered: