for my font plug in I need to know which OS I am running on to
choose an appropriate font. Now when Sun Solaris where added
to the list of OS I use I run into a little problem: there is
only "has('unix')" - but that's not good enough as Linux
allows for anti alias fonts and Sun Solaris does not.
Perhaps something like
if has('unix')
let os = system('uname')
if os ~= 'Linux'
" do linuxy stuff here
elseif os ~= 'Solaris'
" do solarisy stuff here
endif
endif
would do the trick?
-tim
