feat: set EDITOR=nvim before tmux starts inside podman
This commit is contained in:
@ -150,7 +150,7 @@ rw)
|
||||
|
||||
# Run tmux session inside the container
|
||||
if ! podman exec -it --user "$DEV_USER" "$WORKSPACE" tmux has-session -t "$TMUX_SESSION" >/dev/null 2>&1; then
|
||||
if ! podman exec -it --user "$DEV_USER" "$WORKSPACE" tmux new-session -d -s "$TMUX_SESSION" >/dev/null 2>&1; then
|
||||
if ! podman exec -it -e EDITOR=nvim --user "$DEV_USER" "$WORKSPACE" tmux new-session -d -s "$TMUX_SESSION" >/dev/null 2>&1; then
|
||||
log "❌ Could not create new tmux session. Please contact admin or try again later."
|
||||
exit 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user