create shared functions for mac
open iTerm to setup extensions