diff --git a/repo.go b/repo.go index f08022c..6aa8892 100644 --- a/repo.go +++ b/repo.go @@ -146,7 +146,9 @@ func findPkg(pkg string) ([]string, error) { func pkgPrompt(options []string) ([]string, error) { names := make([]string, len(options)) for i, option := range options { - names[i] = filepath.Base(filepath.Dir(option)) + pkgDir := filepath.Dir(option) + repoDir := filepath.Dir(pkgDir) + names[i] = filepath.Base(repoDir) + "/" + filepath.Base(pkgDir) } prompt := &survey.MultiSelect{