diff --git a/devspace.sh b/devspace.sh index 8c0b87e7..3a268105 100755 --- a/devspace.sh +++ b/devspace.sh @@ -26,6 +26,6 @@ echo -e ${GREEN}Pull image...${RESET} docker pull --quiet ${IMAGE} echo -e ${GREEN}Start session...${RESET} -docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} pwd && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver +docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} echo Branch: $(git rev-parse --abbrev-ref HEAD) && git config --global --add safe.directory /ansible-homeserver && /bin/bash # todo shellcheck