Skip to content

Commit

Permalink
Merge pull request sineto#1 from unixorn/add-macos-open
Browse files Browse the repository at this point in the history
Add macOS support
  • Loading branch information
sinetoami authored Nov 29, 2018
2 parents be0fe3f + 9bae595 commit 7acc6e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web_search.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ function web_search() {
# get the open command
local open_cmd
[[ "$OSTYPE" = linux* ]] && open_cmd='xdg-open'
[[ "$OSTYPE" = darwin* ]] && open_cmd='open'

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

Expand Down

0 comments on commit 7acc6e1

Please sign in to comment.