feat(enter): restore directory on container enter

This commit is contained in:
Job79 committed 2025-06-27 17:16:08 +02:00
1 parent 34a5c009f0
commit f85a6740c5
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
. /etc/bashrc
# === container enter logic ===
ENTER_DIR="${ENTER_DIR/#\~/$HOME}"
[ -d "$ENTER_DIR" ] && cd "$ENTER_DIR"
# === environment ===
export EDITOR=nvim \
WAYLAND_DISPLAY=wayland-0 \