Update container script to override detach keys

This allows me to use ctrl-z to send nvim to the background
This commit is contained in:
ViViDboarder 2024-11-17 21:48:38 -08:00
parent e2c10e5f3b
commit cee4d47967

View File

@ -9,6 +9,7 @@ if ! docker inspect "${container_name}-home" > /dev/null ; then
fi fi
docker run --interactive --rm --tty \ docker run --interactive --rm --tty \
--detach-keys "ctrl-z" \
--name "$container_name" \ --name "$container_name" \
--env "NVIM_COLOR=$NVIM_COLOR" \ --env "NVIM_COLOR=$NVIM_COLOR" \
--volume "${container_name}-home:/home/vividboarder/.data" \ --volume "${container_name}-home:/home/vividboarder/.data" \