mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
yay: simply complete files to query file database
This commit is contained in:
parent
5a8e7fe144
commit
23087dee04
@ -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("/"),
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user