aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/open1
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/bin/open b/.local/bin/open
index c34bcea..8e597d7 100755
--- a/.local/bin/open
+++ b/.local/bin/open
@@ -42,6 +42,7 @@ proto cmd ($ --> Str) { * }
# URLs only used in a work setting, which should open in the browser used for
# working purposes.
+multi sub cmd (HttpUrl $t where { $_.hostname.ends-with('gitlab.com') && $_.path[0].?fc eq 'mintlab' }) { "chromium-browser '$t'" }
multi sub cmd (HttpUrl $t where *.hostname.ends-with('aws.amazon.com')) { "chromium-browser '$t'" }
multi sub cmd (HttpUrl $t where *.hostname.ends-with('google.com')) { "chromium-browser '$t'" }
multi sub cmd (HttpUrl $t where *.hostname.ends-with('slack.com')) { "chromium-browser '$t'" }