fixed bug caused by the fact that some linux distro's symlink /bin/openvt to /bin/open

This commit is contained in:
Alex Light 2012-03-12 12:40:04 -04:00
parent 02e39eaf4f
commit 84ba53a022

View file

@ -80,7 +80,7 @@ if (( $+commands[xdg-open] )); then
export BROWSER='xdg-open'
fi
if (( $+commands[open] )); then
if [[ $OSTYPE == darwin && 1 == $+commands[open] ]]; then
export BROWSER='open'
fi