From bf9f9b6c047331c00a3f5365128d8902ac54b50d Mon Sep 17 00:00:00 2001 From: Sebastian Mangelsen Date: Sat, 28 Oct 2023 00:52:14 +0200 Subject: [PATCH] provide section for openLink - this helps to solve issues as in #3052 - provide an example of how to pass it to a bash script --- docs/Config.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/Config.md b/docs/Config.md index 657880472..6bba175ad 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -659,6 +659,13 @@ os: open: 'open {{filename}}' ``` +## Custom Command for Opening a Link +```yaml +os: + openLink: 'bash -C /path/to/your/shell-script.sh {{link}}' +``` +Specify the external command to invoke when opening URL links (i.e. creating MR/PR in GitLab, BitBucket or GitHub). `{{link}}` will be replaced by the URL to be opened. A simple shell script can be used to further mangle the passed URL. + ## Custom Command for Copying to and Pasting from Clipboard ```yaml os: