spencertipping/cd — pull request #13 by vivien (2013-09-16 19:58:29+00:00)
Title: cd: check that a glob match is successful

Globs that match nothing expand to themselves. This causes `cd --clean`
to have this unwanted behavior:

~ $ cd --mounts
~ $ cd --clean
cd: unmounting *... still in use; not unmounting

See: http://mywiki.wooledge.org/NullGlob