From fa46df7691bbe80b4559d8e0e99b2d1ca1f6f48c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 12 Oct 2025 02:32:57 -0500 Subject: more housecleaning --- history.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'history.go') 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/.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 -- cgit v1.2.3