mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 00:40:44 +02:00
jj: short log, d for diff, push, and show timestamp relatively to now
This commit is contained in:
parent
7780ef00f8
commit
a2613c565e
1 changed files with 7 additions and 2 deletions
|
|
@ -16,9 +16,11 @@ sign-on-push = true
|
|||
auto-local-bookmark = true
|
||||
|
||||
[aliases]
|
||||
l = ["log", "-n10"]
|
||||
d = ["diff"]
|
||||
l = ["log", "-r", "ancestors(reachable(@, mutable()), 3)"]
|
||||
llog = ["log", "-T", "builtin_log_detailed"]
|
||||
n = ["new"]
|
||||
bc = ["bookmark", "create"]
|
||||
push = ["git", "push"]
|
||||
tug = ["bookmark", "move", "--from", "heads(::@- & bookmarks())", "--to", "@-"]
|
||||
|
||||
[templates]
|
||||
|
|
@ -29,3 +31,6 @@ concat(
|
|||
diff.git(),
|
||||
)
|
||||
'''
|
||||
|
||||
[template-aliases]
|
||||
"format_timestamp(timestamp)" = "timestamp.ago()"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue