hrPath = (filepath) => {
  filepath = toPath(filepath)
  if (nodePath.isAbsolute(filepath)) {
    const relativePath = nodePath.relative(process.cwd(), filepath)
    if (relativePath && relativePath.length < filepath.length) {
      filepath = relativePath
    }
  } else {
    const absolutePath = nodePath.resolve(filepath)
    if (absolutePath.length < filepath.length) {
      filepath = absolutePath
    }
  }
  return chalk.greenBright(filepath)
}
Given a filepath, displays it as relative or absolute depending on which is
fewer characters. Ergo, the "human-readable" path.

@param {string | URL} filepath
@returns {string}
@internal