Compare commits

...

2 commits

Author SHA1 Message Date
Lilian Jónsdóttir 864d7b3dc2 version bump - v0.2.2
- fall back to proper data dir
2024-05-07 18:00:17 -07:00
Lilian Jónsdóttir 5eb5643062 fall back to proper data dir
somehow I forgot a .
2024-05-07 17:59:29 -07:00
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ import (
const (
name string = "agedit"
usage string = "Edit age encrypted files with your $EDITOR"
version string = "0.2.2"
version string = "0.2.3"
help_template string = `NAME:
{{.Name}} {{if .Version}}v{{.Version}}{{end}} - {{.Usage}}

2
pkg/env/env.go vendored
View file

@ -67,7 +67,7 @@ func GetDataDir(appname string) string {
if datahome := os.Getenv("XDG_DATA_HOME"); datahome != "" {
datadir = datahome
} else {
datadir = make_path(os.Getenv("HOME"), "local", "share")
datadir = make_path(os.Getenv("HOME"), ".local", "share")
}
}