globbing for ls
error message for ls on nil match
share globbing
add state spec tests