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/common/resh-common.go

17 lines
470 B

package common
type Record struct {
CmdLine string `json:"cmdLine"`
Pwd string `json:"pwd"`
GitWorkTree string `json:"gitWorkTree"`
Shell string `json:"shell"`
ExitCode int `json:"exitCode"`
RealtimeBefore float64 `json:"realtimeBefore"`
RealtimeAfter float64 `json:"realtimeAfter"`
RealtimeDuration float64 `json:"realtimeDuration"`
//Logs []string `json: "logs"`
}
type Config struct {
Port int
}