switch
This commit is contained in:
parent
1b71ed0c13
commit
746f3968f2
1 changed files with 6 additions and 5 deletions
|
@ -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}"
|
||||
}
|
||||
|
||||
# ╭──────╮
|
||||
|
|
Loading…
Reference in a new issue