bash: xcd: improve error handling
bash: xcd: improve error handling

only `xcd -` should try to change dir all other options like
arguments should be discarded.
This regex matches a dash and one or more alphanumeric characters
including dashes.

Liambeguin/dotfiles,Liambeguin/dotfiles