mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-22 07:11:01 +00:00
config: add logs.pager configuration option
This commit is contained in:
parent
137486d721
commit
7ee9844285
1 changed files with 2 additions and 0 deletions
|
|
@ -344,6 +344,7 @@ type LogsConfig struct {
|
|||
Timestamps bool `yaml:"timestamps,omitempty"`
|
||||
Since string `yaml:"since,omitempty"`
|
||||
Tail string `yaml:"tail,omitempty"`
|
||||
Pager string `yaml:"pager,omitempty"` // Configuration for external logs viewer (e.g. "lnav", "less -R")
|
||||
}
|
||||
|
||||
// GetDefaultConfig returns the application default configuration NOTE (to
|
||||
|
|
@ -383,6 +384,7 @@ func GetDefaultConfig() UserConfig {
|
|||
Timestamps: false,
|
||||
Since: "60m",
|
||||
Tail: "",
|
||||
Pager: "",
|
||||
},
|
||||
CommandTemplates: CommandTemplatesConfig{
|
||||
DockerCompose: "docker compose",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue