mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 23:42:54 +00:00
18 lines
259 B
Go
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{}
|
|
}
|