From 29618280a1756f64ec358a23df61ed80da811517 Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Wed, 10 Apr 2024 19:21:49 +0100 Subject: [PATCH] feat(sapling): move to using the default log template Previously we have move the templates in to the sapling config. Now we can use that everywhere by default so everything looks the same. --- site-modules/core/files/oh-my-zsh/custom/sapling.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-modules/core/files/oh-my-zsh/custom/sapling.zsh b/site-modules/core/files/oh-my-zsh/custom/sapling.zsh index a92a857..5eb113f 100644 --- a/site-modules/core/files/oh-my-zsh/custom/sapling.zsh +++ b/site-modules/core/files/oh-my-zsh/custom/sapling.zsh @@ -5,7 +5,7 @@ alias sl="\\sl log --pager never --remote -r '.::top() or last(::., 40)'" alias sc="\\sl commit -iv" alias sd="\\sl diff" alias ss="\\sl status" -alias sco="\\sl log -r 'heads(draft())' -T'{node} {truncatelonglines(desc|firstline, 80)} <{author|person}>\n' | fzf | cut -d' ' -f1 | xargs \\sl goto" +alias sco="\\sl log -r 'heads(draft())' | fzf --ansi | cut -d' ' -f3 | xargs \\sl goto" function sl-convert() {