Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Feb 7, 2024
1 parent c05e53e commit 1050b17
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pkg/actions/env/homebrew.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package env

import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/conditions"
)

func init() {
knownVariables["homebrew"] = func() variables {
return variables{
Condition: conditions.ConditionPath("brew"),
Variables: map[string]string{
"HOMEBREW_EVAL_ALL": "Evaluate all available formulae and casks",
},
VariableCompletion: map[string]carapace.Action{
"HOMEBREW_EVAL_ALL": carapace.ActionValues("1"),
},
}
}
}

0 comments on commit 1050b17

Please sign in to comment.