diff --git a/tools/herotools.nu b/tools/herotools.nu index 0d28409..235931e 100644 --- a/tools/herotools.nu +++ b/tools/herotools.nu @@ -29,22 +29,12 @@ export def clone_nuscripts [ --reset=false , --pull=false ] string { let $r = git git_clone nuscripts "git@git.ourworld.tf:despiegk/nuscripts.git" rm -f $dest ln -s $r $dest - sync_nuscripts return $r } else { error make { msg: "load ssh-agent" } } } -export def sync_nuscripts [ --reset=false , --pull=false ] string { - let $code_dir = $"($env.BASE)code/nuscripts/" - let $dest_org = $"($env.BASE)/nushell/" - if not ($code_dir | path exists) { - print $"could not find ($code_dir) to sync to nushell dir" - exit 1 - } - rsync -rav --exclude .git $code_dir $dest_org -}