diff --git a/.bash_aliases b/.bash_aliases index f46c50e..c80147e 100755 --- a/.bash_aliases +++ b/.bash_aliases @@ -109,6 +109,8 @@ alias h='history' # Lazy docker composing. Set the variable somewhere. alias doco="$DOCKER_COMPOSE_COMMAND" alias redoco="$DOCKER_COMPOSE_COMMAND down && $DOCKER_COMPOSE_COMMAND up -d" +alias redog="$DOCKER_COMPOSE_COMMAND down && $DOCKER_COMPOSE_COMMAND up -d; $DOCKER_COMPOSE_COMMAND logs -f" +alias dolog="$DOCKER_COMPOSE_COMMAND up -d; $DOCKER_COMPOSE_COMMAND logs -f" # Regain all that space taken up by projects you abandoned alias docprune='docker image prune && docker network prune && docker container prune && docker volume prune' # Send things instantly to a pastebin. Pipe other commands into this to share their output.