-
Notifications
You must be signed in to change notification settings - Fork 321
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
FR: allow multiple user config files #4926
Comments
I make use of Git's |
We'll add some |
We also have a TODO about maybe reading all config files in Lines 416 to 422 in a6c18e8
As a workaround, you can actually already set |
Hi,
I develop on several computers and would like to be able to have machine specific jj configs.
I will preface this by saying it's not very important and you can already do it with machine specific shell aliases and
--config-toml
.Generally software lets you do this by having a shared main config, which includes a local config (which might not exist) with machine specific stuff in, e.g. for git in WSL I have:
Less commonly, some software (fish shell) loads everything from a config dir in alphabetical order, so you can do 0-base.fish/1-local.fish to achieve the same thing.
For a concrete example of why this would be helpful for jj, I have
[ui] paginate = "never"
on Windows because jj launches the pager when everything would fit on one screen and my WSL pager renders escape chars asESC
, making jj quite unusableThe text was updated successfully, but these errors were encountered: