Skip to content

Commit

Permalink
Pass through COLUMNS and LINES env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
acbramley committed Aug 3, 2018
1 parent ae32fe3 commit 1b056bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dsh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ dsh_shell() {
dsh_start
fi

docker-compose -f ${DOCKER_COMPOSE_FILE} exec web /bin/bash
docker-compose -f ${DOCKER_COMPOSE_FILE} exec \
-e COLUMNS="$(tput cols)" \
-e LINES="$(tput lines)" \
web /bin/bash
}

# Command: ./dsh stop
Expand Down

0 comments on commit 1b056bf

Please sign in to comment.