summaryrefslogblamecommitdiffstats
path: root/bashrc/common/browser.sh
blob: 7dc6bd2a748183beee4031e43499fa561db8ca02 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                 








                                                               
 
# browser options

# check in this order for existence and use the first available
browser="x-www-browser opera chromium google-chrome firefox"

for b in $browser ; do
    if hash $b > /dev/null 2>&1 ; then
	export BROWSER=$b
	break
    fi
done