From e8011a6413d06f7b33139e4f237e43aa70658cb1 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 8 Sep 2024 23:57:03 +0200 Subject: [PATCH] env/workspace --- spcd/bootstrap.sh | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 6003e74..c3911e8 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -737,11 +737,6 @@ ${SPCD_PYTHON_VENV}/lib/${SPCD_PYTHON_COMMAND}/site-packages" spcd_os_printenv "SPCD_DL" } -spcd_step__environment_list_workspace() { - spcd_step "List workspace" - spcd_os_ls "$(realpath .)" -} - # ╭──────────────╮ # │ f = function │ # ╰──────────────╯ @@ -886,6 +881,14 @@ spcd_f_ca_write() { spcd_f_ca "write" "${root}" } +# ╭───┬───────────────────╮ +# │ f │ env = environment │ +# ╰───┴───────────────────╯ + +spcd_f_env_workspace() { + spcd_os_ls "$(realpath .)" +} + # ╭───┬──────────────────────╮ # │ f │ pm = package manager │ # ╰───┴──────────────────────╯ @@ -1563,7 +1566,8 @@ spcd_main() { spcd_step__environment_print spcd_step_out spcd_step__environment_set_variables - spcd_step__environment_list_workspace + spcd_step "List workspace" + spcd_f_env_workspace spcd_step_out # dns spcd_step "DNS"