diff options
| author | Jeff Carr <[email protected]> | 2025-10-29 00:48:05 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-29 00:48:05 -0500 |
| commit | 2d5174830aead2aa4e8dcbbb4de78a122d38835d (patch) | |
| tree | af540d49f867e506b9ade514afcde2b552194981 /theMagicOfAutocomplete.go | |
| parent | f3fa28a0a093c3e22ecacac914854523545d94f3 (diff) | |
didn't roll the PB version. damnit. wasted time.
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 { |
