summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-05-21 09:36:04 +0200
committerMarc Vertes <mvertes@free.fr>2025-05-21 09:36:04 +0200
commit851d35180e3eaea8bc6c25f9055e8a17fe679d91 (patch)
tree09de334414c023df523a8e9f2d7a3458f3c1ca18 /bin
parentc8d4dff0745734800ea91d3dd1b5b40c1335ed56 (diff)
update
Diffstat (limited to 'bin')
-rwxr-xr-xbin/search4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/search b/bin/search
index 26ee35d..2152592 100755
--- a/bin/search
+++ b/bin/search
@@ -14,6 +14,4 @@ urlenc() {
}'
}
-[ "$(uname)" = Darwin ] && cmd=open || cmd=xdg-open
-
-exec $cmd "https://www.google.com/search?udm=14&num=20&q=$(urlenc "$1")"
+exec open "https://www.google.com/search?udm=14&num=20&q=$(urlenc "$1")"