yay: simply complete files to query file database

This commit is contained in:
rsteube 2025-03-29 09:06:28 +01:00
parent 5a8e7fe144
commit 23087dee04

View File

@ -2,7 +2,6 @@ package cmd
import (
"github.com/carapace-sh/carapace"
"github.com/carapace-sh/carapace-bin/pkg/actions/tools/pacman"
"github.com/carapace-sh/carapace/pkg/style"
"github.com/spf13/cobra"
)
@ -51,6 +50,6 @@ func init() {
})
carapace.Gen(filesCmd).PositionalAnyCompletion(
pacman.ActionPackages().FilterArgs(),
carapace.ActionFiles().Chdir("/"),
)
}