pub fn install(shell_override: Option<&str>) -> Result<PathBuf>
Idempotently append (or refresh) the wrapper function in the user’s rc file. Returns the path of the file that was written.