rsteube 4a60f2aa50 implicit bridge
initial version - still a couple of TODOs, but works.
2024-01-22 19:01:04 +01:00

18 lines
259 B
Go

package env
import (
"os"
"strings"
)
const (
CARAPACE_EXCLUDES = "CARAPACE_EXCLUDES" // excluded internal completers
)
func Excludes() []string {
if v, ok := os.LookupEnv(CARAPACE_EXCLUDES); ok {
return strings.Split(v, ",")
}
return []string{}
}