_/wipe
This commit is contained in:
parent
95a1c81f39
commit
04a6a0c15e
1 changed files with 3 additions and 3 deletions
|
@ -201,7 +201,7 @@ _SPCD_RULE_RIGHT="╴"
|
||||||
|
|
||||||
_SPCD_STEP_LEVEL=1
|
_SPCD_STEP_LEVEL=1
|
||||||
|
|
||||||
spcd_step_wipe() {
|
_spcd_step_wipe() {
|
||||||
unset \
|
unset \
|
||||||
"SPCD_STEP_${_SPCD_STEP_LEVEL}_INDEX" \
|
"SPCD_STEP_${_SPCD_STEP_LEVEL}_INDEX" \
|
||||||
"SPCD_STEP_${_SPCD_STEP_LEVEL}_LABEL"
|
"SPCD_STEP_${_SPCD_STEP_LEVEL}_LABEL"
|
||||||
|
@ -382,11 +382,11 @@ spcd_step() {
|
||||||
spcd_step_in() {
|
spcd_step_in() {
|
||||||
[ -n "${1}" ] && spcd_step "${1}"
|
[ -n "${1}" ] && spcd_step "${1}"
|
||||||
_SPCD_STEP_LEVEL=$((_SPCD_STEP_LEVEL + 1))
|
_SPCD_STEP_LEVEL=$((_SPCD_STEP_LEVEL + 1))
|
||||||
spcd_step_wipe
|
_spcd_step_wipe
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_step_out() {
|
spcd_step_out() {
|
||||||
spcd_step_wipe
|
_spcd_step_wipe
|
||||||
_SPCD_STEP_LEVEL=$((_SPCD_STEP_LEVEL - 1))
|
_SPCD_STEP_LEVEL=$((_SPCD_STEP_LEVEL - 1))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue