summaryrefslogtreecommitdiffstats
path: root/dockerRunScript.sh
blob: 56416563125d6ea695d39642fc5dac3ee5c8d4a8 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

# disable mouse as input source
printf '\e[?1000l'

docker exec -it "$1" /bin/sh -c "[ -e /bin/bash ] && /bin/bash || /bin/sh"

# enable mouse as input source for dockly
#printf '\e[?1000h'