From bed0f97bd7d29ab6223e07bb56d1312758ced79f Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Wed, 4 Sep 2024 19:12:18 +0100 Subject: [PATCH] feat(shell): add sa alias for sl amend --- site-modules/core/files/oh-my-zsh/custom/sapling.zsh | 1 + 1 file changed, 1 insertion(+) 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 f4409e7..75749eb 100644 --- a/site-modules/core/files/oh-my-zsh/custom/sapling.zsh +++ b/site-modules/core/files/oh-my-zsh/custom/sapling.zsh @@ -3,6 +3,7 @@ alias s="\\sl" alias sl="\\sl log --pager never --remote -r '.::top() or last(::., 40)'" alias sc="\\sl addremove . && \\sl commit -iv" +alias sa="\\sl addremove . && \\sl amend -iv" alias sd="\\sl diff" alias ss="\\sl status" alias sco="\\sl log -r 'heads(draft())' | fzf --ansi | cut -d' ' -f3 | xargs \\sl goto"