add tmux to dev script

This commit is contained in:
Tomas Mirchev 2025-02-28 23:55:37 +01:00
parent c0a4bcc3cc
commit db030fa601

View File

@ -32,7 +32,7 @@ NAME="$1"
CONTAINER_NAME="${IMAGE}-${NAME}" CONTAINER_NAME="${IMAGE}-${NAME}"
exec_into_container() { exec_into_container() {
docker exec --detach-keys "ctrl-q,ctrl-p" -it "$CONTAINER_NAME" /bin/zsh docker exec --detach-keys "ctrl-q,ctrl-p" -it "$CONTAINER_NAME" bash -c "tmux new -A -s $NAME"
} }
# Check if the container exists # Check if the container exists