1
0
Fork 0

Merge sorin-ionescu/prezto/pull/1241

pull/1130/head
Federico Castagnini 8 years ago
commit 9fc504628e
No known key found for this signature in database
GPG Key ID: B8F54AA3DB400B54

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

Loading…
Cancel
Save