./segments/weather.sh: line 9: shell_is_bsd: command not found

$ostype is not configured before executing ```source "${TMUX_POWERLINE_DIR_LIB}/rcfile.sh"``` in ```generate_rc.sh``` in MAX OS X 10.9