=====================================================================

--- Changes ------------------------------

- improved colors readability by naming color variables in zsh/utils

--- Bug Fixes ----------------------------

- aws/efs/mount wouldn't mount if the previous session was not
  explicitly unmounted. now it does :)
This commit is contained in:
2022-07-01 20:57:03 -06:00
parent f30eb7fb9e
commit db0d0092db
6 changed files with 50 additions and 28 deletions

View File

@ -12,7 +12,7 @@ __RUN() {
while [[ $# -gt 0 ]]
do
case $1 in
-e|--env )
-e | --env )
[ $ENV_NAME ] && __WARNING 'overwriting session environment'
ENV_NAME="$2"
__STATUS "using CLI environment '$ENV_NAME'"
@ -196,8 +196,7 @@ __VALIDATE_UPSTREAM_TIMELINE() {
__GET_LOGFILE() {
local SCRIPT="$1"
[ $CI ] \
|| [ $SUBSCWRYPT ] \
[ $SUBSCWRYPT ] \
|| [[ $SCRIPT =~ scwrypts/logs ]] \
|| [[ $SCRIPT =~ interactive ]] \
&& return 0