summaryrefslogtreecommitdiff
path: root/history.go
diff options
context:
space:
mode:
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