From 84ba53a0229881c44a43ed0a2e60239c0743a047 Mon Sep 17 00:00:00 2001 From: Alex Light Date: Mon, 12 Mar 2012 12:40:04 -0400 Subject: [PATCH] fixed bug caused by the fact that some linux distro's symlink /bin/openvt to /bin/open --- environment.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.zsh b/environment.zsh index d00d7a50..a1c65337 100644 --- a/environment.zsh +++ b/environment.zsh @@ -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