2018-05-09 21:22:32 -04:00
|
|
|
# vim:et sts=2 sw=2 ft=zsh
|
2017-03-15 10:40:22 -04:00
|
|
|
# Prints the first non-empty string in the arguments array.
|
2018-10-02 21:02:06 -04:00
|
|
|
local arg
|
2017-03-15 10:40:22 -04:00
|
|
|
for arg in ${argv}; do
|
|
|
|
print -n ${arg}
|
|
|
|
return 0
|
|
|
|
done
|
|
|
|
return 1
|