Merge branch 'master' of https://git.cscherr.de/PlexSheep/home
This commit is contained in:
commit
b6a8077bc5
10
.zshrc
10
.zshrc
|
@ -84,6 +84,16 @@ if __name__ == \"__main__\":
|
|||
function countlines() {
|
||||
find . -type f -name "$1" -exec wc -l {} \; | awk '{print $0} {total += $1} END {print "Total lines:", total}'
|
||||
}
|
||||
function git-verify-commit () {
|
||||
git verify-commit $1
|
||||
ret=$?
|
||||
if [ $ret -ne 0 ]; then
|
||||
echo "Commit is not signed."
|
||||
else
|
||||
echo "OK"
|
||||
fi
|
||||
return $ret
|
||||
}
|
||||
|
||||
### ---- zsh options -------------------------------------
|
||||
setopt autocd
|
||||
|
|
Loading…
Reference in New Issue