bash-snippets: Add cdargs helpers taken from package contribs.