Skip to content

Commit 7acc6e1

Browse files
authored
Merge pull request sineto#1 from unixorn/add-macos-open
Add macOS support
2 parents be0fe3f + 9bae595 commit 7acc6e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_search.plugin.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ function web_search() {
55
# get the open command
66
local open_cmd
77
[[ "$OSTYPE" = linux* ]] && open_cmd='xdg-open'
8+
[[ "$OSTYPE" = darwin* ]] && open_cmd='open'
89

910
pattern='(google|duckduckgo|bing|yahoo|github|youtube)'
1011

0 commit comments

Comments
 (0)