commit 318e76c403c83bb24d013d2d5b36f415c20ab822 parent 9779808bb03ab231f7fb6082738a76a9b78e0738 author: nathanael <nathanael@dalliard.ch> date: Thu, 23 Oct 2025 17:26:12 +0000 s0: add bin url diffstat:
| A | s0/dotfiles/bin/url | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/s0/dotfiles/bin/url b/s0/dotfiles/bin/url @@ -0,0 +1,6 @@ +#!/bin/sh +u=$(grep -oE 'https?://[^][:space:]<>"()]+' | sort -u) +[[ -n "$u" ]] && { + s=$(echo "$u" | fzy) + [[ -n "$s" ]] && open "$s" +}