2023-01-15 16:21:07 +01:00
|
|
|
[ui]
|
|
|
|
username =Daniel Lundin <daniel@arity.se>
|
|
|
|
|
|
|
|
[alias]
|
|
|
|
sw = switch
|
|
|
|
switch = !sl sl -M -T ':\033[31m{node|short} \033[1;33m{bookmarks}{if(bookmarks, " ")}{remotenames} {if(github_pull_request_number, "\033[1;37;41m PR #{github_pull_request_number} ")}\033[0;3;32m {date|age} \033[35;1;3mby {author|user} - \033[0;34;3m{desc|firstline}\033[0m' | sed -E -e '/31m[0-9abcdef]{12}/!d' -e 's/.+ ://' | fzf-tmux -p 90%,50% -y 0 --ansi --color=light | sed "s/ .*//" | xargs -r -n1 sl go && sl log -r . -T status
|
|
|
|
|
|
|
|
l = ll
|
|
|
|
ll = log -G -T '\033[31m{node|short} \033[3;32m{date|age} \033[35;1;3mby {author|person}\n \033[0;34;3m{desc|firstline}\033[0m\n\n'
|
|
|
|
|
|
|
|
[pager]
|
2023-03-28 11:09:51 +02:00
|
|
|
pager = delta --hunk-header-style "line-number file" --line-numbers --max-line-distance 0.9 --inspect-raw-lines=false
|
2023-01-16 23:56:11 +01:00
|
|
|
|
|
|
|
[color]
|
|
|
|
sl.public = color70 bold
|
|
|
|
sl.draft = color208 bold
|
|
|
|
sl.current = color99 bold
|
|
|
|
sl.diff = red bold
|
|
|
|
|
|
|
|
[committemplate]
|
|
|
|
emptymsg = ""
|
|
|
|
|