diff --git a/internal/view/cmd/helpers.go b/internal/view/cmd/helpers.go index 9ceec0dae8..0068dcbeb6 100644 --- a/internal/view/cmd/helpers.go +++ b/internal/view/cmd/helpers.go @@ -113,6 +113,10 @@ func completeCtx(s string, cc []string) []string { var suggests []string for _, ctxName := range cc { if suggest, ok := ShouldAddSuggest(s, ctxName); ok { + if len(s) == 0 { + suggests = append(suggests, " "+suggest) + continue + } suggests = append(suggests, suggest) } }