diff options
Diffstat (limited to 'history.go')
| -rw-r--r-- | history.go | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 |
