diff options
Diffstat (limited to 'theMagicOfAutocomplete.go')
| -rw-r--r-- | theMagicOfAutocomplete.go | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/theMagicOfAutocomplete.go b/theMagicOfAutocomplete.go index 7cb8194..4bb56b8 100644 --- a/theMagicOfAutocomplete.go +++ b/theMagicOfAutocomplete.go @@ -162,20 +162,14 @@ func examineArgvHistory() { // loads the argv autocomplete history file me.Err = config.ForceCreateCacheDirPB(me.all, "argv", PB.AppInfo.APPNAME) if me.Err != nil { - // there is no history. - // ALWAYS KEEP THESE LINES AND THE panic() - // They are needed to debug autocomplete. // - // This code is only executed when the user is hitting tab in the shell, - // so this panic() is safe and can never be triggered by normal program execution. + // debug this // me.debug = true PB.Stddbg += fmt.Sprintf("config.CreateCacheDirPB() err(%v)\n", me.Err) PB.Stddbg += fmt.Sprintf("argvpb.Load() history file failed") printStderr() printStddbg() - me.all = NewArgvs() - me.debug = true return } if me.debug { |
