summaryrefslogtreecommitdiff
path: root/open-in-browser
blob: 655f9155e1e63eea4728ac9b95ac2bd74dd7b14b (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env zsh

if [[ $(uname) == "Darwin" ]]; then
  osascript -e "tell application \"Firefox\" to open location \"$1\""
else
  firefox &>/dev/null
done