forked from greyblake/vim-preview
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6780b96
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! thanks for commit but
open
is specific command for OS X. It will not work on Linux.If we want to use
open
for OS X, we should use condition if operating system is OS X.To get kind of OS
system('uname')
can be used.uname
shell command returns name of kernel. For Linux it'sLinux
but I don't know what value it returns for OS X.6780b96
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It returns
Darwin
.