feat(enter): restore directory on container enter

This commit is contained in:
Job
2025-06-27 17:16:08 +02:00
parent 34a5c009f0
commit f85a6740c5
2 changed files with 5 additions and 1 deletions

View File

@@ -73,4 +73,4 @@ if [ "$force" = true ] || [ "$(podman container inspect "$name" -f {{.State.Runn
fi
podman start "$name" 1>/dev/null
podman exec --detach-keys "ctrl-@" -it "$name" bash -l
podman exec -e ENTER_DIR="${PWD/#$HOME/\~}" --detach-keys "ctrl-@" -it "$name" bash -l