diff --git a/pidd.sh b/pidd.sh index cfbc60b..0736363 100644 --- a/pidd.sh +++ b/pidd.sh @@ -38,6 +38,19 @@ pidd_main () { pidd_switch_to_python "${@}" } +# context + +pidd_list_environment_variables () { + pidd_step "List environment variables" + env | sort +} + +pidd_list_working_directory () { + pidd_step "List working directory" + pidd_list_working_directory__path="$(realpath .)" + pidd_ls "${pidd_list_working_directory__path}" +} + # steps pidd_set_environment_variables () { @@ -501,17 +514,6 @@ pidd_set_packages_configuration () { # agnostic steps -pidd_list_environment_variables () { - pidd_step "List environment variables" - env | sort -} - -pidd_list_working_directory () { - pidd_step "List working directory" - pidd_list_working_directory__path="$(realpath .)" - pidd_ls "${pidd_list_working_directory__path}" -} - pidd_set_https_verification_off () { if [ -n "${PIDD_CA}" ] || [ "${PIDD_PM}" = "${PIDD_PM_APT}" ] ; then pidd_step "Set HTTPS verification off"