Compare commits
2 commits
fa5a4ecc3b
...
864d7b3dc2
Author | SHA1 | Date | |
---|---|---|---|
Lilian Jónsdóttir | 864d7b3dc2 | ||
Lilian Jónsdóttir | 5eb5643062 |
|
@ -22,7 +22,7 @@ import (
|
||||||
const (
|
const (
|
||||||
name string = "agedit"
|
name string = "agedit"
|
||||||
usage string = "Edit age encrypted files with your $EDITOR"
|
usage string = "Edit age encrypted files with your $EDITOR"
|
||||||
version string = "0.2.2"
|
version string = "0.2.3"
|
||||||
help_template string = `NAME:
|
help_template string = `NAME:
|
||||||
{{.Name}} {{if .Version}}v{{.Version}}{{end}} - {{.Usage}}
|
{{.Name}} {{if .Version}}v{{.Version}}{{end}} - {{.Usage}}
|
||||||
|
|
||||||
|
|
2
pkg/env/env.go
vendored
2
pkg/env/env.go
vendored
|
@ -67,7 +67,7 @@ func GetDataDir(appname string) string {
|
||||||
if datahome := os.Getenv("XDG_DATA_HOME"); datahome != "" {
|
if datahome := os.Getenv("XDG_DATA_HOME"); datahome != "" {
|
||||||
datadir = datahome
|
datadir = datahome
|
||||||
} else {
|
} else {
|
||||||
datadir = make_path(os.Getenv("HOME"), "local", "share")
|
datadir = make_path(os.Getenv("HOME"), ".local", "share")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue