zshrc: Add flveri command to verify Fossil commits
This commit is contained in:
parent
74e47e208a
commit
52089ca481
1 changed files with 4 additions and 0 deletions
4
zshrc
4
zshrc
|
@ -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 }')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue