[Fix #41] Do not truncate the commit id

This commit is contained in:
Colin Hebert 2012-03-15 00:19:49 +00:00 committed by Sorin Ionescu
commit cdb95f810f
3 changed files with 12 additions and 8 deletions

View file

@ -15,6 +15,15 @@ function is-true() {
[[ -n "$1" && "$1" == (1|[Yy]([Ee][Ss]|)|[Tt]([Rr][Uu][Ee]|)|[Oo]([Nn]|)) ]]
}
# Prints the first non-empty string in the arguments array.
function coalesce() {
for arg in "$argv[@]"; do
print "$arg"
return 0
done
return 1
}
# Trap signals were generated with 'kill -l'.
# DEBUG, EXIT, and ZERR are Zsh signals.
TRAP_SIGNALS=(