fixed bug caused by the fact that some linux distro's symlink /bin/openvt to /bin/open
This commit is contained in:
parent
02e39eaf4f
commit
84ba53a022
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue