mirror of https://github.com/cheat/cheat.git
lookup XDG_CONFIG_HOME in openbsd
openbsd is needlessly left out from this XDG_CONFIG_HOME check which caused the program to exit prematurely. go supports openbsd so there isn't any sensible reason to exclude it.
This commit is contained in:
parent
2edc0ee299
commit
bdff9ddcee
|
@ -28,7 +28,7 @@ func Paths(
|
||||||
}
|
}
|
||||||
|
|
||||||
switch sys {
|
switch sys {
|
||||||
case "android", "darwin", "linux", "freebsd":
|
case "android", "darwin", "linux", "freebsd", "openbsd":
|
||||||
paths := []string{}
|
paths := []string{}
|
||||||
|
|
||||||
// don't include the `XDG_CONFIG_HOME` path if that envvar is not set
|
// don't include the `XDG_CONFIG_HOME` path if that envvar is not set
|
||||||
|
|
Loading…
Reference in New Issue