diff --git a/roles/git/files/lazygit.yml b/roles/git/files/lazygit.yml index ab3cf32..5c46d71 100644 --- a/roles/git/files/lazygit.yml +++ b/roles/git/files/lazygit.yml @@ -16,9 +16,33 @@ customCommands: loadingText: "Pruning..." description: "prune local branches that have been merged to develop" + - key: "" + context: "global" + description: "Create new commit from examples" + prompts: + - type: "menu" + key: "message" + title: "git commit message" + options: + - name: "update Directory.Build.Props on shared" + description: "build(deps): use beta fw nugets" + value: "build(deps): use beta fw nugets" + - name: "update Directory.Build.Props on verwaltung" + description: "build(deps): use beta fw + shared nugets" + value: "build(deps): use beta fw + shared nugets" + - type: "input" + title: "task number without #" + key: "number" + initialValue: "" + command: "git commit -m '{{.Form.message}}' -m 'refs #{{.Form.number}}'" + loadingText: "Creating commit..." + keybinding: universal: scrollLeft: '[' scrollRight: ']' nextTab: 'L' prevTab: 'H' + +os: + openLink: "open_lazygit_url {{link}}" diff --git a/roles/scripts/files/t460p/open_lazygit_url b/roles/scripts/files/t460p/open_lazygit_url index db903a8..6238117 100644 --- a/roles/scripts/files/t460p/open_lazygit_url +++ b/roles/scripts/files/t460p/open_lazygit_url @@ -1,4 +1,3 @@ -cat .local/bin/open_lazygit_url #! /usr/bin/env bash case $1 in