mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
nix: ActionInstallables - support local attributes
This commit is contained in:
parent
f5ba48eb8e
commit
2622f372e5
@ -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