diff --git a/burc_xterm.sh b/burc_xterm.sh index f776709..c922449 100755 --- a/burc_xterm.sh +++ b/burc_xterm.sh @@ -1,5 +1,5 @@ #!/bin/bash IP=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}') xhost + $IP -docker run --read-only -it --rm -e DISPLAY=$IP:0 -v /tmp/.X11-unix:/tmp/.X11-unix rhancock/burc-lite /bin/bash +docker run --read-only -it --rm -e DISPLAY=$IP:0 -v /tmp/.X11-unix:/tmp/.X11-unix "$@" rhancock/burc-lite /bin/bash xhost - $IP