From 04a6a0c15e825c1bb55b4ead928944438b7a7e81 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 26 Aug 2024 14:34:01 +0200 Subject: [PATCH] _/wipe --- spcd/bootstrap.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 9521e7a..1a945bd 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -201,7 +201,7 @@ _SPCD_RULE_RIGHT="╴" _SPCD_STEP_LEVEL=1 -spcd_step_wipe() { +_spcd_step_wipe() { unset \ "SPCD_STEP_${_SPCD_STEP_LEVEL}_INDEX" \ "SPCD_STEP_${_SPCD_STEP_LEVEL}_LABEL" @@ -382,11 +382,11 @@ spcd_step() { spcd_step_in() { [ -n "${1}" ] && spcd_step "${1}" _SPCD_STEP_LEVEL=$((_SPCD_STEP_LEVEL + 1)) - spcd_step_wipe + _spcd_step_wipe } spcd_step_out() { - spcd_step_wipe + _spcd_step_wipe _SPCD_STEP_LEVEL=$((_SPCD_STEP_LEVEL - 1)) }