pub fn write_init_script(fs: &dyn Fs, paths: &dyn Pather) -> Result<PathBuf>
Generate and write the init script to data_dir/shell/dodot-init.sh.
data_dir/shell/dodot-init.sh
Returns the path where the script was written.