Compare commits
No commits in common. "864d7b3dc229614b299f4f878c749cdfc749147b" and "fa5a4ecc3be0d9b790ecdaa12eb25f2b6978f542" have entirely different histories.
864d7b3dc2
...
fa5a4ecc3b
|
@ -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.3"
|
version string = "0.2.2"
|
||||||
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