add tmux to dev script
This commit is contained in:
parent
c0a4bcc3cc
commit
db030fa601
@ -32,7 +32,7 @@ NAME="$1"
|
||||
CONTAINER_NAME="${IMAGE}-${NAME}"
|
||||
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user