mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-10 04:07:18 +02:00
32 lines
991 B
YAML
32 lines
991 B
YAML
disableStartupPopups: true
|
|
customCommands:
|
|
- key: 'N'
|
|
description: 'Add file'
|
|
context: 'localBranches'
|
|
command: 'echo "{{index .PromptResponses 0}} {{index .PromptResponses 1}} {{index .PromptResponses 2}} {{ .SelectedLocalBranch.Name }}" > output.txt'
|
|
loadingText: 'Running custom command...'
|
|
prompts:
|
|
- type: 'menuFromCommand'
|
|
title: 'Title'
|
|
command: 'git log --oneline --pretty=%B'
|
|
filter: '(?P<commit_message>.*)'
|
|
valueFormat: '{{ .commit_message }}'
|
|
labelFormat: '{{ .commit_message | yellow }}'
|
|
- type: 'input'
|
|
title: 'Description'
|
|
initialValue: "{{ if .SelectedLocalBranch.Name }}Branch: #{{ .SelectedLocalBranch.Name }}{{end}}"
|
|
- type: 'menu'
|
|
title: 'yes or no'
|
|
options:
|
|
- name: 'no'
|
|
value: 'false'
|
|
- name: 'yes'
|
|
value: 'true'
|
|
gui:
|
|
theme:
|
|
activeBorderColor:
|
|
- green
|
|
- bold
|
|
SelectedRangeBgcolor:
|
|
- reverse
|