diff --git a/.envrc b/.envrc index c7d7b99..b6df951 100644 --- a/.envrc +++ b/.envrc @@ -6,7 +6,7 @@ [[ -f "${BASHMATIC_HOME}/.bash_safe_source" ]] && \ source "${BASHMATIC_HOME}/.bash_safe_source" -coefficient=$((DEBUG + BASHMATIC_DEBUG + BASHMATIC_PATH_DEBUG)) +coefficient=$((BASHMATIC_DEBUG + BASHMATIC_PATH_DEBUG)) if [[ ${coefficient} -ge 2 ]]; then src "${BASHMATIC_HOME}/.envrc.debug" diff --git a/.gitignore b/.gitignore index 9fcfea2..43b2ef9 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ test/all.bats doc/USAGE.adoc .developer-warned .history +.vscode/*.log diff --git a/.version b/.version index 7bf4b6a..437459c 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -2.4.6 +2.5.0 diff --git a/init.sh b/init.sh index 2979f72..fe0e0be 100644 --- a/init.sh +++ b/init.sh @@ -71,12 +71,12 @@ export BASHMATIC_OS="$(/usr/bin/uname -s | /usr/bin/tr '[:upper:]' '[:lower:]')" export SHELL_COMMAND="$(/bin/ps -p $$ -o args | ${GREP_CMD} -v -E 'ARGS|COMMAND' | /usr/bin/cut -d ' ' -f 1 | sed -E 's/-//g')" function log.err() { - ((BASHMATIC_DEBUG + BASHMATIC_PATH_DEBUG + DEBUG)) || return 0 + ((BASHMATIC_DEBUG + BASHMATIC_PATH_DEBUG)) || return 0 printf "${blderr}[ERROR] --> ${bldylw}$*${clr}\n" } function log.inf() { - ((BASHMATIC_DEBUG + BASHMATIC_PATH_DEBUG + DEBUG)) || return 0 + ((BASHMATIC_DEBUG + BASHMATIC_PATH_DEBUG)) || return 0 printf "${bldblu}[INFO] --> ${bldgrn}$*${clr}\n" }