This commit is contained in:
ange 2025-05-29 07:52:56 +00:00
parent 337c12125d
commit 81da0e63fa
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
38 changed files with 93 additions and 90 deletions

View file

@ -15,9 +15,6 @@ if [ -z "$q" ]; then
elif [[ "$q" == *://* ]]; then
url="${q/*+( )/}"
if [ "$1" = -p ] || [[ "$url" == http?(s)://* ]]; then
exec $BROWSER "$url"
fi
exec xdg-open "$url"
fi
if [[ "$q" =~ ^[^[:space:]]+(\.[^[:space:]]+)+$ ]]; then