dotfiles/dot_urlview.tmpl

7 lines
210 B
Cheetah
Raw Normal View History

2022-07-30 07:17:12 +02:00
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 -}}