#!/bin/bash : ' @vendor Chorke Academia, Inc. @web https://cdn.chorke.org/docs/academia @version 1.0.00 @since 1.0.00 ' :<> "${MEMBER_ENV_PROFILE}" else printf 'already configured "\033[0;32mFINOLOGY_XPRESSCOVER_DEVELOP_ENV\033[0m" :)\n\n' fi # suppress warning for relogin or exec script if [[ -f "${MEMBER_ENV_PROFILE}" ]]&&[[ -s "${MEMBER_ENV_PROFILE}" ]]&& [[ "${FINOLOGY_XPRESSCOVER_DEVELOP_ENV_ENABLE}/env/set" == '/env/set' ]];then printf 'please relogin or exec "\033[0;32msource %s\033[0m"\n\n' "${MEMBER_ENV_PROFILE}" source "${MEMBER_ENV_PROFILE}" fi } function void_init(){ if [[ "${FINOLOGY_XPRESSCOVER_DEVELOP_ENV}/env/set" == '/env/set' ]];then export FINOLOGY_XPRESSCOVER_DEVELOP_ENV="${HOME}/.finology/xpresscover/etc/develop.env" fi } function post_init(){ bash <(curl -s 'https://cdn.chorke.org/exec/cli/bash/install/profile/finology/xpresscover.sh.txt') } function init(){ post_init void_init conf_init } init