From af53335222010eee43177829aaa7cf21f4a5f11b Mon Sep 17 00:00:00 2001 From: joelazar Date: Sun, 8 Sep 2024 23:39:54 +0200 Subject: [PATCH] :wrench: make sure o keymap working in lazygit on local branch view --- .../private_Application Support/lazygit/config.yml | 6 ++++++ private_dot_local/bin/executable_code-snippet.applescript | 4 ++-- .../bin/executable_dismiss-notifications.applescript | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/private_Library/private_Application Support/lazygit/config.yml b/private_Library/private_Application Support/lazygit/config.yml index fb8bcb08..40f1ee31 100644 --- a/private_Library/private_Application Support/lazygit/config.yml +++ b/private_Library/private_Application Support/lazygit/config.yml @@ -82,6 +82,12 @@ customCommands: description: "View PR on GitHub" loadingText: "Opening GitHub..." subprocess: false + - key: "o" + command: "gh pr view --web {{ .SelectedLocalBranch.Name }}" + description: "View PR on github" + context: "localBranches" + loadingText: "opening github..." + subprocess: false - key: "" command: "git remote prune {{.SelectedRemote.Name}}" context: "remotes" diff --git a/private_dot_local/bin/executable_code-snippet.applescript b/private_dot_local/bin/executable_code-snippet.applescript index f03531f1..1ccb7c51 100644 --- a/private_dot_local/bin/executable_code-snippet.applescript +++ b/private_dot_local/bin/executable_code-snippet.applescript @@ -11,8 +11,8 @@ # Documentation: # @raycast.description Wrap the currently selected text in a code block. -# @raycast.author joelazar -# @raycast.authorURL https://raycast.com/joelazar +# @raycast.author dlvhdr +# @raycast.authorURL https://github.com/dlvhdr tell application "System Events" delay 0.1 diff --git a/private_dot_local/bin/executable_dismiss-notifications.applescript b/private_dot_local/bin/executable_dismiss-notifications.applescript index eb14f49c..5b3b18ed 100644 --- a/private_dot_local/bin/executable_dismiss-notifications.applescript +++ b/private_dot_local/bin/executable_dismiss-notifications.applescript @@ -11,8 +11,8 @@ # Documentation: # @raycast.description Close all notification alerts staying on screen, e.g., Calendar notifications. -# @raycast.author joelazar -# @raycast.authorURL https://raycast.com/joelazar +# @raycast.author benyn +# @raycast.authorURL github.com/benyn tell application "System Events" tell process "NotificationCenter" -- 2.51.2