move jj config to XDG_CONFIG_HOME
This commit is contained in:
parent
88b5f0af95
commit
a90c758e87
2 changed files with 5 additions and 3 deletions
37
home/private_dot_config/jj/config.toml.tmpl
Normal file
37
home/private_dot_config/jj/config.toml.tmpl
Normal file
|
@ -0,0 +1,37 @@
|
|||
[user]
|
||||
name = {{ .name | quote }}
|
||||
email = {{ .email_personal | quote }}
|
||||
|
||||
[git]
|
||||
push-bookmark-prefix = "{{ .github_personal }}_jj_"
|
||||
private-commits = "description(glob:'private:*') | bookmarks('merge')"
|
||||
|
||||
[revset-aliases]
|
||||
"stack()" = "trunk()..@"
|
||||
"immutable_heads()" = "builtin_immutable_heads() | (trunk().. & ~mine())"
|
||||
|
||||
[ui]
|
||||
default-command = ["log"]
|
||||
pager = "delta"
|
||||
|
||||
[ui.diff]
|
||||
format = "git"
|
||||
|
||||
[merge-tools.delta]
|
||||
diff-args = [
|
||||
"--color-only",
|
||||
"--features", "chameleon",
|
||||
"--navigate",
|
||||
"--dark",
|
||||
"--side-by-side",
|
||||
"--true-color", "always",
|
||||
"--syntax-theme", "base16",
|
||||
"$left", "$right",
|
||||
]
|
||||
|
||||
[[--scope]]
|
||||
--when.repositories = ["~/Klaviyo"]
|
||||
[--scope.user]
|
||||
email = {{ .email_work | quote }}
|
||||
[--scope.git]
|
||||
push-bookmark-prefix = "2025_{{ .github_work }}_jj_"
|
Loading…
Add table
Add a link
Reference in a new issue