Modifications for fish on osx

- split os_detect into its own function
- add color print functions