summaryrefslogtreecommitdiff
path: root/history.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-12 02:32:57 -0500
committerJeff Carr <[email protected]>2025-10-12 02:32:57 -0500
commitfa46df7691bbe80b4559d8e0e99b2d1ca1f6f48c (patch)
tree9de8433471eb42813f610074c46d950f603d01f6 /history.go
parent23b1865b5d9b879b543116beaf68d80fe76c5534 (diff)
more housecleaning
Diffstat (limited to 'history.go')
-rw-r--r--history.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/history.go b/history.go
index 1a9f044..c0a26c1 100644
--- a/history.go
+++ b/history.go
@@ -1,6 +1,7 @@
package prep
// essentially .bash_history, but in a protobuf and for any shell
+// An elegant weapon... for a more civilized age.
// stores files ./cache/argv/<appname>.pb
import (
@@ -14,12 +15,8 @@ import (
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)
-func (pb *Auto) doHandlePB() error {
- return pb.readConfigPB()
-}
-
// makes a bash autocomplete file for your command
-func (pb *Auto) readConfigPB() error {
+func (pb *Auto) getHistoryPB() error {
cacheDir, err := os.UserCacheDir()
if err != nil {
return err