Add JJ config to dotfiles.
This commit is contained in:
17
jj/.config/jj/config.toml
Normal file
17
jj/.config/jj/config.toml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#:schema https://jj-vcs.github.io/jj/latest/config-schema.json
|
||||||
|
|
||||||
|
[user]
|
||||||
|
name = "Chun Li"
|
||||||
|
email = "chunli.developer@gmail.com"
|
||||||
|
|
||||||
|
[aliases]
|
||||||
|
# tug - move the nearest bookmark to the nearest non-empty change at or before @
|
||||||
|
tug = ["bookmark", "move", "--from", "closest_bookmark(@)", "--to", "closest_nonempty(@)"]
|
||||||
|
init = ["git", "init"]
|
||||||
|
|
||||||
|
[revset-aliases]
|
||||||
|
'closest_bookmark(to)' = 'heads(::to & bookmarks())'
|
||||||
|
'closest_nonempty(to)' = 'heads(::to ~ empty())'
|
||||||
|
|
||||||
|
[ui]
|
||||||
|
default-command = "log"
|
||||||
2
jj/.config/jj/repos/4a1e9c69ec37511440a3/metadata.binpb
Normal file
2
jj/.config/jj/repos/4a1e9c69ec37511440a3/metadata.binpb
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
/home/chun/dotfiles/.jj/repo
|
||||||
Reference in New Issue
Block a user