summaryrefslogtreecommitdiff
path: root/theMagicOfAutocomplete.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-22 09:20:14 -0500
committerJeff Carr <[email protected]>2025-10-22 09:20:14 -0500
commit79d5f1d674f4f4a3b5304acc93908cdd968b33d4 (patch)
treeda2c767cec4060465a5d34e0b6cb22e11f2a06be /theMagicOfAutocomplete.go
parentc60d46ea7a098a187a13ee78d2c3a6e7e77fe285 (diff)
ENV & lib/config changes
Diffstat (limited to 'theMagicOfAutocomplete.go')
-rw-r--r--theMagicOfAutocomplete.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/theMagicOfAutocomplete.go b/theMagicOfAutocomplete.go
index 9155517..dd75a23 100644
--- a/theMagicOfAutocomplete.go
+++ b/theMagicOfAutocomplete.go
@@ -40,7 +40,8 @@ func Autocomplete(dest any) *Argv {
// loads the argv autocomplete history file
all := NewArgvs()
- err := config.LoadCache(all, "argv", me.pb.AppInfo.APPNAME) //
+ fullname := config.MakeCacheFilename("argv", me.pb.AppInfo.APPNAME)
+ err := config.LoadFromFilename(all, fullname)
if err != nil {
// there is no history.
// todo: initialize the history file