diff --git a/devspace.sh b/devspace.sh index 99e3d418..6e004a0f 100755 --- a/devspace.sh +++ b/devspace.sh @@ -14,18 +14,18 @@ echo ${GREEN}Run checks...${RESET} # TODO ghier noch check output mit haken dran in grĂ¼n if ! [ -f "./vault-pass" ]; then - echo "${RED}Vault-Pass File is missing!${RESET}" + echo -e "${RED}Vault-Pass File is missing!${RESET}" exit 1 fi if ! [ -f "./id_ed25519" ]; then - echo "${RED}SSH-Private-Key is missing!${RESET}" + echo -e "${RED}SSH-Private-Key is missing!${RESET}" exit 1 fi -echo ${GREEN}Pull image...${RESET} +echo -e ${GREEN}Pull image...${RESET} docker pull --quiet ${IMAGE} -echo ${GREEN}Start session...${RESET} +echo -e ${GREEN}Start session...${RESET} docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} tmux new -t ansible && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver # todo shellcheck