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