fix support for bash not liking dashes in cmd names