1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-29 22:48:24 +02:00

feat: add os.copyToClipboardCmd to allow for a custom command

Issue #1055

test: CopyPatchToClipboard (temporary commit for review)
This commit is contained in:
Red S
2023-07-16 08:57:02 +00:00
committed by Jesse Duffield
parent 7e9f669421
commit d7f84aed8a
6 changed files with 70 additions and 50 deletions

View File

@@ -346,6 +346,9 @@ type OSConfig struct {
// OpenLinkCommand is the command for opening a link
// Deprecated: use OpenLink instead.
OpenLinkCommand string `yaml:"openLinkCommand,omitempty"`
// CopyToClipboardCmd is the command for copying to clipboard
CopyToClipboardCmd string `yaml:"copyToClipboardCmd,omitempty"`
}
type CustomCommandAfterHook struct {