make powerline more versatile on mac os