alias docker if needed

main
Yax 2 years ago
parent 2e4a47dd61
commit 358b6c87c7

@ -1,3 +1,5 @@
# docker
if docker tig 2>/dev/null; then
export DOCKER_COMPOSE_BIN='{{ .docker_compose_command }}' export DOCKER_COMPOSE_BIN='{{ .docker_compose_command }}'
docker-compose () docker-compose ()
{ {
@ -5,4 +7,4 @@ docker-compose ()
} }
alias dcup='docker-compose --env-file .env up -d' alias dcup='docker-compose --env-file .env up -d'
alias dcdown='docker-compose --env-file .env down' alias dcdown='docker-compose --env-file .env down'
fi

Loading…
Cancel
Save