posh/pkg/config/prompt.go
2025-04-04 16:32:11 +02:00

17 lines
550 B
Go

package config
type (
Prompt struct {
Title string `json:"title" yaml:"title"`
Prefix string `json:"prefix" yaml:"prefix"`
PrefixGit bool `json:"prefixGit" yaml:"prefixGit"`
History PromptHistory `json:"history" yaml:"history"`
Aliases map[string]string `json:"aliases" yaml:"aliases"`
}
PromptHistory struct {
Limit int `json:"limit" yaml:"limit"`
Filename string `json:"filename" yaml:"filename"`
LockFilename string `json:"lockFilename" yaml:"lockFilename"`
}
)