Rich Enhanced Shell History - Contextual shell history for zsh and bash
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
resh/internal/recordint/collect.go

34 lines
495 B

package recordint
import "github.com/curusarn/resh/record"
type Collect struct {
// record merging
SessionID string
Shlvl int
// session watching
SessionPID int
Shell string
Rec record.V1
}
type Postcollect struct {
// record merging
SessionID string
Shlvl int
// session watching
SessionPID int
RecordID string
ExitCode int
Duration float64
}
type SessionInit struct {
// record merging
SessionID string
Shlvl int
// session watching
SessionPID int
}