pub fn quote_remote_install_dir(install_dir: &str) -> StringExpand description
Quote --install-dir for interpolation into the remote install
command. A leading ~ becomes "$HOME" so it still expands on the
remote; the rest is quoted so spaces and metacharacters are inert.