We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e22854b commit e95fb24Copy full SHA for e95fb24
scripts/.local/bin/random/,linkify
@@ -26,6 +26,7 @@ elif echo "$url" | grep -qE '^https://github.com/[^/]*/[^/]*/?$'; then
26
elif echo "$url" | grep -qE '^https://linear.app/[^/]*/issue/[^/]*/[^/]*$'; then
27
printf "%s" "$url" | sed "s|https://linear.app/\([^/]*\)/issue/\([^/]*\)/\([^/]*\)|[\2]($url)|"
28
elif echo "$url" | grep -qE '^https://.*\.atlassian\.net/browse/.*$'; then
29
+ url="$(echo "$url" | sed "s|\?atlOrigin=[a-zA-Z0-9]*$||")"
30
printf "%s" "$url" | sed "s|https://.*/browse/\([^/]*\)|[\1]($url)|"
31
elif echo "$url" | grep -qE '^https://teams.microsoft.com'; then
32
# Using sed here was causing issues
0 commit comments