mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
Merge pull request #2766 from carapace-sh/nix-installables-attrs
nix: ActionInstallables - support local attributes
This commit is contained in:
commit
58107efc4b
@ -32,7 +32,12 @@ func ActionInstallables() carapace.Action {
|
||||
).ToA()
|
||||
|
||||
case 1:
|
||||
return ActionPackages(strings.SplitN(c.Parts[0], "/", 2)[0])
|
||||
switch c.Parts[0] {
|
||||
case ".":
|
||||
return ActionFlakeAttributes(".")
|
||||
default:
|
||||
return ActionPackages(strings.SplitN(c.Parts[0], "/", 2)[0])
|
||||
}
|
||||
|
||||
default:
|
||||
return carapace.ActionValues()
|
||||
|
Loading…
x
Reference in New Issue
Block a user