improved quality and verbosity of default error messages in shell