diff options
| author | Marc Vertes <mvertes@free.fr> | 2025-05-14 22:57:38 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2025-05-14 22:57:38 +0200 |
| commit | c8d4dff0745734800ea91d3dd1b5b40c1335ed56 (patch) | |
| tree | 3a50bcac0687405bc5c4a0f4f81be8658dbe18a0 /bin | |
| parent | a87308d327d3fcef6dd2b522cfbb740881d2ad89 (diff) | |
search: port to linux
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/search | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -14,4 +14,6 @@ urlenc() { }' } -exec open "https://www.google.com/search?udm=14&num=20&q=$(urlenc "$1")" +[ "$(uname)" = Darwin ] && cmd=open || cmd=xdg-open + +exec $cmd "https://www.google.com/search?udm=14&num=20&q=$(urlenc "$1")" |
