This commit is contained in:
Marc Beninca 2024-08-31 11:00:17 +02:00
parent 1b71ed0c13
commit 746f3968f2
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1386,13 +1386,14 @@ SPCD_STEP = ${index}
spcd_step__python_switch() {
spcd_step "Switch"
spcd_stp__name="$(basename "${SPCD_GIT_SPCD}")"
spcd_stp__path="$(realpath "${0}")"
local name path
name="$(basename "${SPCD_GIT_SPCD}")"
path="$(realpath "${0}")"
echo "\
${spcd_stp__path}
${path}
${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}"
"${SPCD_PYTHON_ALIAS}" -m "${spcd_stp__name}"
${SPCD_PYTHON_ALIAS} / ${name}"
"${SPCD_PYTHON_ALIAS}" -m "${name}"
}
# ╭──────╮