-
Use-case is checking in my In Git, I can do: [include]
path = .gitconfig.local The reason for this is that the config may vary substantially between machines or may contain information (like an alternate email address) that I do not wish to be publicly documented in my (public) dotfiles. The way I've managed this so far is: alias jj="jj --config-file=$HOME/.jj.local.toml" and # .jj.local.toml
[[--scope]]
--when.repositories = ["~/Code/ACME"]
[--scope.user]
email = "john@acme.corp" Is this the best way? Is there an undocumented config option for extra includes or perhaps a template I can modify to change the default args to |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I think (but am not 100% sure) that this is what you want? https://jj-vcs.github.io/jj/latest/config/#conditional-variables |
Beta Was this translation helpful? Give feedback.
-
You can set |
Beta Was this translation helpful? Give feedback.
You can set
$JJ_CONFIG
to point to a directory containing*.toml
files. We might change the default to~/.config/jj/*.toml
, but that's not implemented yet.#4926