aboutsummaryrefslogtreecommitdiffstats
path: root/osurl
diff options
context:
space:
mode:
Diffstat (limited to 'osurl')
-rwxr-xr-xosurl1
1 files changed, 1 insertions, 0 deletions
diff --git a/osurl b/osurl
index 171ab73..ae5504d 100755
--- a/osurl
+++ b/osurl
@@ -27,6 +27,7 @@ STR="$(echo "$STR" | sed -E -e 's!gh[#-]([^#]*)@(\S+)!https://github.com/\1/comm
STR="$(echo "$STR" | sed -E -e 's@gh[#-]([^#]*)!(\S+)@https://github.com/\1/pull/\2@')"
# Python exception
STR="$(echo "$STR" | sed -E -e 's@gh[#-]([0-9]+)[: ]*@https://github.com/python/cpython/issues/\1@')"
+STR="$(echo "$STR" | sed -E -e 's@gh[#-]([^#]*)\$(\S+)@https://github.com/\1/discussions/\2@')"
STR="$(echo "$STR" | sed -E -e 's@gl[#-]([^#]*)[#-](\S+)@https://gitlab.com/\1/issues/\2@')"
STR="$(echo "$STR" | sed -E -e 's@gl[#-]([^#]*)!(\S+)@https://gitlab.com/\1/-/merge_requests/\2@')"
STR="$(echo "$STR" | sed -E -e 's@bt[#-]([^#]*)[#-](\S+)@https://bitbucket.org/\1/issues/\2@')"