1
1
Fork 0

zshrc: Add flveri command to verify Fossil commits

This commit is contained in:
Jonathan Schleifer 2021-01-02 21:40:25 +00:00
parent 74e47e208a
commit 52089ca481

4
zshrc
View file

@ -264,6 +264,10 @@ if __has_command fossil; then
return $ret return $ret
} }
flveri() {
fossil artifact ${1-current} | gpg --verify
}
git2fl() { git2fl() {
local gitdir=$(git rev-parse --show-toplevel)/.git local gitdir=$(git rev-parse --show-toplevel)/.git
local repo=$(fossil info | awk '/^repository:/ { print $2 }') local repo=$(fossil info | awk '/^repository:/ { print $2 }')