From 456b96da31ac4b5d4904f0b0fb243fab02b9ef43 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 23 Jun 2024 22:20:40 +0200 Subject: [PATCH] child/name --- pidd.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pidd.sh b/pidd.sh index b04a439..01aaa9c 100644 --- a/pidd.sh +++ b/pidd.sh @@ -672,11 +672,12 @@ PIDD_STEP = $((PIDD_STEP+1)) pidd_switch_to_python () { pidd_step "Switch to Python" + pidd_switch_to_python__name="$(basename "${PIDD_GIT_CHILD}")" echo "\ ${PIDD_PATH} ↓ -${PIDD_PYTHON_PACKAGES}/${PIDD_GIT_CHILD}" - "${PIDD_PYTHON_ALIAS}" -m "${PIDD_GIT_CHILD}" "${@}" +${PIDD_PYTHON_PACKAGES}/${pidd_switch_to_python__name}" + "${PIDD_PYTHON_ALIAS}" -m "${pidd_switch_to_python__name}" "${@}" } # functions