Add Max OS X compatibility to ranger feature for syl20bnr theme

Hi Bruno,

This PR adds the support for Mac OS X of the "ranger" feature in syl20bnr theme.

Cheers,
syl20bnr