diff --git a/core/config.go b/core/config.go index 9530ec4a..f798a6e1 100644 --- a/core/config.go +++ b/core/config.go @@ -241,7 +241,17 @@ func Clone(repo string) error { clone.Stdout = os.Stdout clone.Env = os.Environ() - return clone.Run() + err = clone.Run() + if err != nil { + return err + } + home, err := os.UserHomeDir() + if err != nil { + return err + } + yamlPath := filepath.Join(location, ".fleek.yml") + csym := filepath.Join(home, ".fleek.yml") + return os.Symlink(yamlPath, csym) }