Merge sorin-ionescu/prezto/pull/1241

This commit is contained in:
Federico Castagnini 2016-12-28 23:51:16 -05:00
commit 9fc504628e
No known key found for this signature in database
GPG key ID: B8F54AA3DB400B54

View file

@ -23,9 +23,7 @@ function is-true {
# Prints the first non-empty string in the arguments array.
function coalesce {
for arg in $argv; do
print "$arg"
return 0
done
return 1
print "${${(s: :)@}[1]}"
}