dotfiles/dot_urlview.tmpl
2022-07-30 07:39:43 +02:00

6 lines
210 B
Cheetah

REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
{{ if eq .chezmoi.os "darwin" -}}
COMMAND open -a "Firefox" %s
{{ else }}
COMMAND /usr/bin/firefox -new-tab %s
{{- end -}}