diff options
Diffstat (limited to 'theMagicOfAutocomplete.go')
| -rw-r--r-- | theMagicOfAutocomplete.go | 3 |
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 |
